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!)
A103355 a(n) = n - floor( sqrt(prime(n) ) ). 0

%I #9 Dec 30 2023 16:28:04

%S 0,1,1,2,2,3,3,4,5,5,6,6,7,8,9,9,10,11,11,12,13,14,14,15,16,16,17,18,

%T 19,20,20,21,22,23,23,24,25,26,27,27,28,29,30,31,31,32,33,34,34,35,36,

%U 37,38,39,39,40,41,42,43,44,45,45,46,47,48,49,49,50,51,52,53,54,54,55

%N a(n) = n - floor( sqrt(prime(n) ) ).

%t Table[n - Floor[Sqrt[Prime[n]]], {n, 100}] (* _Wesley Ivan Hurt_, Apr 20 2023 *)

%K easy,nonn

%O 1,4

%A _Giovanni Teofilatto_, Mar 20 2005

%E Corrected and extended by _Ray Chandler_, May 18 2005

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 April 26 21:53 EDT 2024. Contains 372004 sequences. (Running on oeis4.)