login
a(n) = ceiling(prime(n)/10).
1

%I #57 Sep 08 2022 08:45:55

%S 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,

%T 14,14,14,15,16,16,17,17,18,18,19,20,20,20,20,22,23,23,23,24,24,25,26,

%U 26,27,27,28,28,29,29,30,31,32,32,32,34,34,35,35,36

%N a(n) = ceiling(prime(n)/10).

%H Charles R Greathouse IV, <a href="/A185322/b185322.txt">Table of n, a(n) for n = 1..10000</a>

%t Table[Ceiling[Prime[n]/10], {n,1,50}] (* _G. C. Greubel_, Jun 26 2017 *)

%o (PARI) a(n)=prime(n)\10 + 1 \\ _Charles R Greathouse IV_, Jul 12 2016

%o (Magma) [Ceiling(NthPrime(n)/10): n in [1..100]]; // _Vincenzo Librandi_, Jun 27 2017

%Y Ceiling(n^2/10) is in A036408.

%Y Cf. A176044.

%K nonn,easy

%O 1,5

%A _Giovanni Teofilatto_, Jan 30 2012