A185322 a(n) = ceiling(prime(n)/10).
1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 4, 4, 5, 5, 5, 6, 6, 7, 7, 8, 8, 8, 9, 9, 10, 11, 11, 11, 11, 12, 13, 14, 14, 14, 15, 16, 16, 17, 17, 18, 18, 19, 20, 20, 20, 20, 22, 23, 23, 23, 24, 24, 25, 26, 26, 27, 27, 28, 28, 29, 29, 30, 31, 32, 32, 32, 34, 34, 35, 35, 36
Offset: 1
Links
- Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
Programs
-
Magma
[Ceiling(NthPrime(n)/10): n in [1..100]]; // Vincenzo Librandi, Jun 27 2017
-
Mathematica
Table[Ceiling[Prime[n]/10], {n,1,50}] (* G. C. Greubel, Jun 26 2017 *)
-
PARI
a(n)=prime(n)\10 + 1 \\ Charles R Greathouse IV, Jul 12 2016
Comments