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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A014202 Number of solutions to x^2+x*y+y^2 <= n, excluding (0,0), divided by 6. 1
0, 1, 1, 2, 3, 3, 3, 5, 5, 6, 6, 6, 7, 9, 9, 9, 10, 10, 10, 12, 12, 14, 14, 14, 14, 15, 15, 16, 18, 18, 18, 20, 20, 20, 20, 20, 21, 23, 23, 25, 25, 25, 25, 27, 27, 27, 27, 27, 28, 31, 31, 31, 33, 33, 33, 33, 33, 35, 35, 35 (list; graph; refs; listen; history; internal format)
OFFSET

0,4

FORMULA

for n>0 a(n)=sum(k=1,n,K(k,3)*floor(n/k)) where K(x,y) is the Kronecker symbol. [From Benoit Cloitre (benoit7848c(AT)orange.fr), Oct 31 2009]

PROG

(PARI) a(n)=if(n<1, 0, sum(k=1, n, kronecker(k, 3)*floor(n/k))) [From Benoit Cloitre (benoit7848c(AT)orange.fr), Oct 31 2009]

CROSSREFS

A014201/6. Cf. A014200.

Sequence in context: A087418 A087731 A141784 * A145281 A151687 A160573

Adjacent sequences:  A014199 A014200 A014201 * A014203 A014204 A014205

KEYWORD

nonn,easy

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 15 19:15 EST 2012. Contains 205852 sequences.