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!)
A104295 a(n) = A104294(n) - A104293(n). 3
1, 2, 2, 2, 4, 4, 6, 6, 4, 6, 6, 2, 6, 6, 2, 4, 14, 2, 2, 6, 6, 2, 4, 4, 4, 6, 10, 6, 6, 4, 4, 10, 2, 6, 4, 4, 2, 2, 6, 2, 4, 4, 6, 2, 18, 6, 6, 2, 12 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,2
LINKS
FORMULA
a(n) = prime((prime(n)+1)/2) - prime((prime(n)-1)/2).
MATHEMATICA
Prime[(#+1)/2]-Prime[(#-1)/2]&/@Prime[Range[2, 50]] (* Harvey P. Dale, Mar 09 2022 *)
CROSSREFS
Sequence in context: A268241 A134318 A246452 * A172068 A289195 A353711
KEYWORD
easy,nonn
AUTHOR
Zak Seidov, Feb 28 2005
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 25 07:41 EDT 2024. Contains 371964 sequences. (Running on oeis4.)