CoCalc -- Collaborative Calculation in the Cloud
Sharedsupport / 2015-06-01-133923-sloane.sagewsOpen in CoCalc

Examples for support purposes...

sloane.A000009?
File: /projects/sage/sage-6.7/local/lib/python2.7/site-packages/sage/combinat/sloane_functions.py
Signature : sloane.A000009()
Docstring :
Number of partitions of n into odd parts.

INPUT:

* "n" - non negative integer

OUTPUT:

* "integer" - function value

EXAMPLES:

   sage: a = sloane.A000009;a
   Number of partitions of n into odd parts.
   sage: a(0)
   1
   sage: a(1)
   1
   sage: a(13)
   18
   sage: a.list(14)
   [1, 1, 1, 2, 2, 3, 4, 5, 6, 8, 10, 12, 15, 18]

AUTHOR:

* Jaap Spies (2007-01-30)