login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A089027 a(n) =1 if the prime gap A001223(n) is <=2, otherwise a(n)=n+1. 0
1, 1, 1, 5, 1, 7, 1, 9, 10, 1, 12, 13, 1, 15, 16, 17, 1, 19, 20, 1, 22, 23, 24, 25, 26, 1, 28, 1, 30, 31, 32, 33, 1, 35, 1, 37, 38, 39, 40, 41, 1, 43, 1, 45, 1, 47, 48, 49, 1, 51, 52, 1, 54, 55, 56, 57, 1, 59, 60, 1, 62, 63, 64, 1, 66, 67, 68, 69, 1, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,4

LINKS

Table of n, a(n) for n=1..79.

MATHEMATICA

digits=200 a=Table[If[Prime[n]-Prime[n-1]>2, n, 1], {n, 2, digits}]

CROSSREFS

Sequence in context: A284150 A318676 A265293 * A023890 A319684 A102778

Adjacent sequences:  A089024 A089025 A089026 * A089028 A089029 A089030

KEYWORD

nonn

AUTHOR

Roger L. Bagula, Nov 12 2003

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 12 06:21 EDT 2020. Contains 335658 sequences. (Running on oeis4.)