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!)
A147965 a(n) = n + 1 - A001223(n) = n - A046933(n). In words, a(n) is the difference between n+1 and the n-th gap between primes. 2
1, 1, 2, 1, 4, 3, 6, 5, 4, 9, 6, 9, 12, 11, 10, 11, 16, 13, 16, 19, 16, 19, 18, 17, 22, 25, 24, 27, 26, 17, 28, 27, 32, 25, 34, 31, 32, 35, 34, 35, 40, 33, 42, 41, 44, 35, 36, 45, 48, 47, 46, 51, 44, 49, 50, 51, 56, 53, 56, 59 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
MATHEMATICA
Module[{nn=70, prg}, prg=Differences[Prime[Range[nn]]]; #[[2]]-#[[1]]&/@ Thread[{prg, Range[nn-1]}]+1] (* Harvey P. Dale, Nov 21 2021 *)
CROSSREFS
Sequence in context: A076981 A355678 A355679 * A167542 A167419 A114285
KEYWORD
easy,nonn,less
AUTHOR
Omar E. Pol, Nov 17 2008
EXTENSIONS
Definition corrected by N. J. A. Sloane, Nov 21 2021, at the suggestion of Harvey P. Dale.
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 28 11:48 EDT 2024. Contains 372065 sequences. (Running on oeis4.)