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!)
A074500 Difference between n*sqrt(n)+1 and prime(n), rounded to nearest integer. 0
0, 1, 1, 2, 1, 3, 3, 5, 5, 4, 6, 6, 7, 10, 12, 12, 12, 16, 17, 19, 24, 25, 28, 30, 29, 33, 38, 42, 48, 52, 47, 51, 54, 60, 59, 66, 69, 72, 78, 81, 85, 92, 92, 100, 106, 114, 112, 111, 117, 126, 132, 137, 146, 147, 152, 157, 162, 172, 177, 185, 194, 196, 194, 202, 212 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
LINKS
FORMULA
a(n) = round(n*sqrt(n) + 1 - prime(n)).
EXAMPLE
a(3) = round(3*sqrt(3) + 1 - prime(3)) = round(5.196... + 1 - 5) = round(1.196...) = 1.
CROSSREFS
Sequence in context: A240863 A288005 A237832 * A107237 A070047 A101198
KEYWORD
nonn
AUTHOR
Werner D. Sand, Sep 26 2002
STATUS
approved

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 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)