The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A174184 Prime(n)+even nonprime(n) is prime. 0
1, 2, 3, 7, 9, 11, 12, 13, 14, 18, 24, 27, 28, 29, 30, 36, 38, 43, 44, 53, 54, 55, 57, 60, 63, 64, 65, 66, 72, 74, 80, 84, 90, 93, 102, 103, 108, 110, 111, 117, 118, 125, 126, 135, 138, 141, 143, 148, 150, 155, 156, 162, 165, 171, 174, 180, 183, 186, 188, 190, 198 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Unit together with prime(n)+s*n is prime, s=2.
LINKS
FORMULA
a(n+1)=A076297(n).
EXAMPLE
1 is in the sequence because A000040(1) + A163300(1) = 2 (1st prime) + 0 (1st even nonprime) is prime;
2 is in the sequence because A000040(2) + A163300(2) = 3 (2nd prime) + 4 (2nd even nonprime) is prime.
MAPLE
From R. J. Mathar, Apr 20 2010: (Start)
A163300 := proc(n) option remember ; if n = 1 then 0; else for a from procname(n-1)+2 by 2 do if not isprime(a) then return a ; end if; end do; end if; end proc:
for n from 1 to 200 do if isprime( ithprime(n) + A163300(n)) then printf("%d, ", n) ; end if; end do: (End)
CROSSREFS
Sequence in context: A262300 A202105 A076297 * A278485 A279064 A294109
KEYWORD
nonn
AUTHOR
EXTENSIONS
Entries checked by R. J. Mathar, Apr 20 2010
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 June 7 12:16 EDT 2024. Contains 373173 sequences. (Running on oeis4.)