If we expected Perl6 to be able to recognize these series and continue
them based on nothing but the first few elements, that would be a
dwimmy OEIS. (And an OEIS module that did that by consulting the real
OEIS would be cool, outside of core.) But that's not what this is
about. This is just wanting to be able to write the ones that have
simple mathematical expressions (closed or not) using simple Perl 6
expressions with the series operator.
On Friday, July 23, 2010, Brandon S Allbery KF8NH <allb...@ece.cmu.edu> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> On 7/22/10 11:18 , Jon Lang wrote:
>> Second, I'm trying to think of a simple and intuitive way to write up
>> a series expression for:
>> triangle numbers: 0, 1, 3, 6, 10, 15, 21, etc.
>> square numbers: 0, 1, 4, 9, 16, 25, 36, etc.
>> factorials: 1, 1, 2, 6, 24, 120, 720, 5040, etc.
> I don't think anyone seriously expects the series operator to be a dwimmy
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> -----END PGP SIGNATURE-----
Mark J. Reed <markjr...@gmail.com>