A062876 Numbers of lattice points corresponding to incrementally largest circle radii in A062875.
4, 12, 20, 28, 44, 52, 68, 76, 92, 116, 124, 148, 164, 172, 188, 212, 236, 244, 268, 284, 292, 316, 332, 356, 388, 404, 412, 428, 436, 452, 508, 524, 548, 556, 596, 604, 628, 652, 668, 692, 716, 724, 764, 772, 788, 796, 844, 892, 908, 916, 932, 956, 964
Offset: 1
Links
- Ray Chandler, Table of n, a(n) for n = 1..10000
- Eric Weisstein's World of Mathematics, Circle Lattice Points
Programs
-
Magma
[4] cat [4*NthPrime(n): n in [2..60]]; // Vincenzo Librandi, May 08 2015
-
Mathematica
Join[{4}, Table[4 Prime[n], {n, 2, 50}]] (* Vincenzo Librandi, May 08 2015 *)
-
PARI
a(n)=if(n>1,4*prime(n),4) \\ Charles R Greathouse IV, May 08 2015
-
Python
from sympy import prime def A062876(n): return prime(n)<<2 if n>1 else 4 # Chai Wah Wu, Aug 02 2024
Formula
Extensions
Edited and extended by Ray Chandler, Jan 05 2012
Comments