login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A025422 Number of partitions of n into 7 squares. 15
1, 1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 2, 3, 4, 3, 3, 4, 4, 5, 4, 5, 6, 6, 4, 5, 7, 6, 6, 7, 8, 8, 7, 6, 8, 9, 7, 10, 11, 10, 9, 10, 10, 11, 10, 10, 15, 12, 10, 11, 13, 14, 12, 15, 16, 18, 15, 13, 16, 17, 14, 16, 20, 17, 18, 16, 18, 21, 18, 19, 23, 24, 18, 21, 21, 22, 22, 23, 26, 25, 24, 21, 27, 27, 23 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,5

LINKS

Alois P. Heinz, Table of n, a(n) for n = 0..10000

MAPLE

b:= proc(n, i, t) option remember; `if`(n=0, 1,

      `if`(i<1 or t<1, 0, b(n, i-1, t)+

      `if`(i^2>n, 0, b(n-i^2, i, t-1))))

    end:

a:= n-> b(n, isqrt(n), 7):

seq(a(n), n=0..120);  # Alois P. Heinz, May 30 2014

MATHEMATICA

b[n_, i_, t_] := b[n, i, t] = If[n == 0, 1, If[i<1 || t<1, 0, b[n, i-1, t] + If[i^2 > n, 0, b[n-i^2, i, t-1]]]]; a[n_] := b[n, Sqrt[n] // Floor, 7]; Table[a[n], {n, 0, 120}] (* Jean-Fran├žois Alcover, Jun 11 2015, after Alois P. Heinz *)

CROSSREFS

Sequence in context: A084294 A067752 A229942 * A078640 A006374 A193677

Adjacent sequences:  A025419 A025420 A025421 * A025423 A025424 A025425

KEYWORD

nonn

AUTHOR

David W. Wilson

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 26 07:44 EDT 2019. Contains 323579 sequences. (Running on oeis4.)