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!)
A060325 a(n) = n-th prime prime(n) subtracted from sum of all composites between prime(n) and prime(n-1). 1
-3, -1, -1, 16, -1, 28, -1, 40, 101, -1, 133, 76, -1, 88, 197, 221, -1, 253, 136, -1, 301, 160, 341, 554, 196, -1, 208, -1, 220, 1433, 256, 533, -1, 1147, -1, 613, 637, 328, 677, 701, -1, 1483, -1, 388, -1, 2044, 2164, 448, -1, 460, 941, -1, 1963, 1013, 1037, 1061, -1, 1093, 556, -1, 2299, 3593, 616, -1, 628, 3881 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,1
LINKS
FORMULA
a(n) = A054265(n-1) - A065091(n-1). - James Spahlinger, Feb 20 2016
EXAMPLE
a(2) = 0 - 3 = -3. a(5) = (8+9+10) - 11 = 16.
MATHEMATICA
a[n_] := Total@Range[Prime[n - 1] + 1, Prime[n] - 1] - Prime[n]; Array[a, 50, 2] (* James Spahlinger, Feb 20 2016 *)
CROSSREFS
Sequence in context: A174410 A156690 A228900 * A087987 A290311 A322790
KEYWORD
easy,sign
AUTHOR
Jason Earls, Apr 10 2001
EXTENSIONS
Corrected and extended by Larry Reeves (larryr(AT)acm.org), Apr 20 2001
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 19 11:31 EDT 2024. Contains 371792 sequences. (Running on oeis4.)