[go: up one dir, main page]

login
A278114
Number of primes <= 2n^2.
5
1, 4, 7, 11, 15, 20, 25, 31, 37, 46, 53, 61, 68, 77, 87, 97, 106, 118, 128, 139, 152, 163, 177, 190, 204, 217, 231, 247, 263, 278, 293, 309, 326, 344, 363, 377, 399, 418, 436, 452, 474, 492, 516, 536, 558, 580, 600, 623, 647, 669, 692, 713, 738, 765, 789, 816, 842, 867
OFFSET
1,2
COMMENTS
This is the row length sequence for both A278113 and A278115.
LINKS
FORMULA
a(n) = A000720(A001105(n)).
MATHEMATICA
Table[PrimePi[2 n^2], {n, 58}] (* Michael De Vlieger, Feb 17 2017 *)
PROG
(Magma)
A278114:=func<n|#PrimesUpTo(2*n^2)>;
[A278114(n):n in[1..58]];
(PARI) a(n) = primepi(2*n^2); \\ Michel Marcus, Feb 15 2017
CROSSREFS
Sequence in context: A310740 A130252 A130254 * A263996 A172472 A134918
KEYWORD
nonn,easy
AUTHOR
Jason Kimberley, Feb 09 2017
STATUS
approved