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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A000075 Number of positive integers <= 2^n of form 2 x^2 + 3 y^2.
(Formerly M1078 N0408)
0
0, 1, 2, 4, 7, 14, 23, 42, 76, 139, 258, 482, 907, 1717, 3269, 6257, 12020, 23171, 44762, 86683, 168233, 327053, 636837, 1241723, 2424228, 4738426, 9271299, 18157441, 35591647, 69820626, 137068908, 269270450, 529312241, 1041093048, 2048825748, 4034059456 (list; graph; refs; listen; history; internal format)
OFFSET

0,3

REFERENCES

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

N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).

N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

LINKS

Index entries for sequences related to populations of quadratic forms

EXAMPLE

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

PROG

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

CROSSREFS

Sequence in context: A079488 A054160 A034426 * A048248 A056180 A000076

Adjacent sequences:  A000072 A000073 A000074 * A000076 A000077 A000078

KEYWORD

nonn

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com).

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 11:46 EST 2012. Contains 206011 sequences.