Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A000072
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A000072 Number of positive integers <= 2^n of form x^2 + 4 y^2.
(Formerly M1063 N0400)
+0
3
1, 1, 2, 4, 7, 12, 22, 41, 72, 137, 254, 476, 901, 1716, 3274, 6286, 12090, 23331, 45140, 87511, 169972, 330752, 644499, 1257523, 2456736, 4804666, 9405749, 18429828, 36141339, 70928099, 139295793, 273741700, 538277486, 1059051586, 2084763319, 4105924366 (list; graph; listen)
OFFSET

0,3

REFERENCES

D. Shanks and L. P. Schmid, Variations on a theorem of Landau. Part I, Math. Comp., 20 (1966), 551-569.

LINKS

Index entries for sequences related to populations of quadratic forms

EXAMPLE

a(3)=4 since 2^3=8 and 1=1^2, 4=2^2=4*1^2, 5=1^2+4*1^2, 8=2^2+1*1^2.

PROGRAM

(PARI) a(n)=if(n<0, 0, sum(k=1, 2^n, 0<sum(y=0, sqrtint(k\4), issquare(k-4*y^2))))

CROSSREFS

Adjacent sequences: A000069 A000070 A000071 this_sequence A000073 A000074 A000075

Sequence in context: A026713 A002573 A064492 this_sequence A018179 A127542 A023432

KEYWORD

nonn

AUTHOR

njas

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 May 16 23:01 EDT 2008. Contains 139884 sequences.


AT&T Labs Research