The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A086142 a(n) = floor( log( prime(n) )^2 ). 1

%I #10 Jun 29 2015 08:47:42

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

%T 21,21,22,22,23,23,24,24,25,25,25,25,26,26,26,27,27,27,27,28,28,29,29,

%U 29,29,29,30,30,30,31,31,31,31,31,31,32,32,32,33,33,33,33,34,34,34,34

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

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

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

%o (PARI) vector(80, n, floor(log(prime(n))^2)) \\ _Michel Marcus_, Jun 29 2015

%K easy,nonn

%O 1,3

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

%E More terms from _Robert G. Wilson v_, Sep 01 2003

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 4 13:10 EDT 2024. Contains 373098 sequences. (Running on oeis4.)