login
The OEIS is supported by
the many generous donors to the OEIS Foundation
.
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
Harvey P. Dale,
Table of n, a(n) for n = 2..1000
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
Cf.
A104293
,
A104294
.
Sequence in context:
A268241
A134318
A246452
*
A172068
A289195
A353711
Adjacent sequences:
A104292
A104293
A104294
*
A104296
A104297
A104298
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 August 8 17:17 EDT 2024. Contains 375023 sequences. (Running on oeis4.)