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!)
A104293 a(n) = prime((prime(n)-1)/2). 2
2, 3, 5, 11, 13, 19, 23, 31, 43, 47, 61, 71, 73, 83, 101, 109, 113, 137, 149, 151, 167, 179, 193, 223, 229, 233, 241, 251, 263, 307, 313, 337, 347, 373, 379, 397, 419, 431, 443, 461, 463, 499, 503, 521, 523, 571, 607, 617, 619 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,1
COMMENTS
n=1 is a degenerate case because prime(1)=2, (prime(n)-1)/2 = 1/2 and there is no prime(1/2).
LINKS
FORMULA
a(n) = A104294(n) - A104295(n).
a(n) = prime(A005097(n)). - Michel Marcus, Mar 29 2015
EXAMPLE
a(5)=11 because prime((prime(5)-1)/2) = prime((11-1)/2) = prime(5) = 11;
a(7)=19 because prime((prime(7)-1)/2) = prime((17-1)/2) = prime(8) = 19.
MAPLE
seq(ithprime((ithprime(i)-1)/2), i=2..100); # Robert Israel, Mar 29 2015
MATHEMATICA
Table[Prime[(Prime[n]-1)/2], {n, 2, 50}]
PROG
(PARI) vector(100, n, prime((prime(n+1)-1)/2)) \\ Derek Orr, Mar 29 2015
CROSSREFS
Cf. A104294 (prime((prime(n)+1)/2)), A104295.
Sequence in context: A153135 A038615 A280930 * A153002 A042999 A089194
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 23 14:49 EDT 2024. Contains 371914 sequences. (Running on oeis4.)