

A086142


a(n) = floor( log( prime(n) )^2 ).


1



0, 1, 2, 3, 5, 6, 8, 8, 9, 11, 11, 13, 13, 14, 14, 15, 16, 16, 17, 18, 18, 19, 19, 20, 20, 21, 21, 21, 22, 22, 23, 23, 24, 24, 25, 25, 25, 25, 26, 26, 26, 27, 27, 27, 27, 28, 28, 29, 29, 29, 29, 29, 30, 30, 30, 31, 31, 31, 31, 31, 31, 32, 32, 32, 33, 33, 33, 33, 34, 34, 34, 34
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,3


LINKS



EXAMPLE

a(5)=5: floor(square(log 11)) because log(11) = 2.3979 and square(2.3979) = 5.74992.


MATHEMATICA

Table[ Floor[ Log[ Prime[n]]^2], {n, 1, 60}]


PROG

(PARI) vector(80, n, floor(log(prime(n))^2)) \\ Michel Marcus, Jun 29 2015


CROSSREFS



KEYWORD

easy,nonn


AUTHOR

Yang Sok Kim (yangsokk(AT)utas.edu.au), Aug 24 2003


EXTENSIONS



STATUS

approved



