login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A308685 The number of triangular lattice points whose Euclidean distance from the origin is less than or equal to n. 2
1, 7, 19, 37, 61, 91, 127, 187, 241, 301, 367, 439, 517, 613, 721, 823, 931, 1045, 1165, 1303, 1459, 1615, 1765, 1921, 2083, 2263, 2455, 2653, 2857, 3055, 3259, 3481, 3697, 3949, 4195, 4447, 4693, 4957, 5239, 5527, 5815, 6109, 6409, 6715, 7015, 7333, 7681 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
Also the sum of the first n^2+1 terms of A004016.
LINKS
FORMULA
a(n) = A053416(2*n).
PROG
(PARI) a(n)=1+2*vecsum(Vec(qfrep([2, 1; 1, 2], n^2, 1))) /* Georg Fischer, Apr 07 2022 (from codegolf link) */
CROSSREFS
Sequence in context: A023224 A113743 A003215 * A133323 A002407 A098484
KEYWORD
nonn
AUTHOR
Peter Kagey, Jun 28 2019
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 11:07 EDT 2024. Contains 371905 sequences. (Running on oeis4.)