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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A036702 a(n)=number of Gaussian integers z=a+bi satisfying |z|<=n, a>=0, 0<=b<=a. 3
1, 2, 4, 7, 10, 15, 20, 25, 32, 40, 49, 57, 66, 78, 89, 102, 114, 128, 142, 158, 175, 190, 209, 227, 245, 267, 288, 310, 331, 354, 379, 402, 429, 455, 483, 512, 538, 569, 597, 631, 663, 693, 727, 761, 798, 834, 868, 906, 943, 983 (list; graph; refs; listen; history; internal format)
OFFSET

0,2

LINKS

Index entries for Gaussian integers and primes

FORMULA

a(n) - A036700(n) = 1+A049472(n). - R. J. Mathar, Oct 29 2011

MAPLE

A036702 := proc(n)

        local a, x, y ;

        a := 0 ;

        for x from 0 do

                if x^2 > n^2 then

                        return a;

                fi ;

                for y from 0 to x do

                        if y^2+x^2 <= n^2 then

                                a := a+1 ;

                        end if;

                end do;

        end do:

end proc: # R. J. Mathar, Oct 29 2011

CROSSREFS

Sequence in context: A095116 A027384 A022939 * A007983 A049640 A179385

Adjacent sequences:  A036699 A036700 A036701 * A036703 A036704 A036705

KEYWORD

nonn

AUTHOR

Clark Kimberling (ck6(AT)evansville.edu)

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 10:05 EST 2012. Contains 206009 sequences.