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!)
A056930 Average of smallest prime greater than n^2 and largest prime less than (n+1)^2. 4
6, 12, 20, 30, 42, 57, 73, 90, 107, 133, 158, 183, 210, 239, 270, 305, 345, 382, 420, 461, 505, 556, 598, 652, 702, 753, 813, 870, 930, 994, 1059, 1122, 1193, 1260, 1332, 1406, 1479, 1560, 1635, 1726, 1812, 1897, 1983, 2070, 2168, 2255, 2354, 2444 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,1
COMMENTS
a(1)=2.5 which is not an integer
LINKS
FORMULA
a(n) =(A007491(n)+A053001(n+1))/2 =A002378(n)-A056931(n)
EXAMPLE
a(4)=1 because smallest prime greater than 4^2 is 17, largest prime less than 5^2 is 23 and average of 17 and 23 is 20
MATHEMATICA
Table[Mean[{NextPrime[n^2], NextPrime[(n+1)^2, -1]}], {n, 2, 50}] (* Harvey P. Dale, May 10 2019 *)
CROSSREFS
Sequence in context: A290467 A007622 A180291 * A326378 A064971 A130199
KEYWORD
easy,nonn
AUTHOR
Henry Bottomley, Jul 12 2000
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 May 18 05:02 EDT 2024. Contains 372618 sequences. (Running on oeis4.)