Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A116905
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A116905 Number of partitions of n-th 3-almost prime into 2 squares. +0
1
1, 0, 1, 1, 0, 0, 0, 0, 0, 1, 2, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 1, 0, 2, 2, 0, 0, 1, 1, 0, 1, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 1 (list; graph; listen)
OFFSET

1,11

COMMENT

See also A000161 Number of partitions of n into 2 squares (when order does not matter and zero is allowed).

FORMULA

a(n) = A000161(A014612(n)).

EXAMPLE

a(1) = 1 because A014612(1) = 8 = 2^2 + 2^2, the unique sum of squares.

a(2) = 0 because A014612(2) = 12 has no decomposition into sum of 2 squares because it has a prime factor p == 3 (mod 4) with an odd power.

a(11) = 2 because A014612(11) = 50 = 2*5^2 = 1^2 + 7^2 = 5^2 + 5^2.

a(30) = 2 because A014612(30) = 125 = 5^3 = 2^2 + 11^2 = 5^2 + 1^0.

a(31) = 2 because A014612(31) = 130 = 2*5*13 = 3^2 + 11^2 = 7^2 + 9^2.

a(39) = 2 because A014612(39) = 170 = 2*5*17 = 1^2 + 13^2 = 7^2 + 11^2.

CROSSREFS

Cf. A000161, A014612.

Sequence in context: A130116 A065860 A010110 this_sequence A115079 A025435 A160382

Adjacent sequences: A116902 A116903 A116904 this_sequence A116906 A116907 A116908

KEYWORD

easy,nonn

AUTHOR

Jonathan Vos Post (jvospost3(AT)gmail.com), Mar 15 2006

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 27 22:38 EST 2009. Contains 167602 sequences.


AT&T Labs Research