OFFSET
1,2
COMMENTS
The subsequence of primes A023200 consists of the smallest primes p of cousin prime pairs (p, p+4), while the subsequence of nonprimes is A164384. - Bernard Schott, Oct 19 2021
LINKS
Sameen Ahmed Khan, Table of n, a(n) for n = 1..10000
Sameen Ahmed Khan, Primes in Geometric-Arithmetic Progression, arXiv:1203.2083v1 [math.NT], (Mar 09 2012).
FORMULA
a(n) = prime(n+2) - 4.
EXAMPLE
a(1) = 5 - 4 = 1, a(2) = 7 - 4 = 3.
MATHEMATICA
Table[Prime[n]-4, {n, 3, 53}] (* Charles R Greathouse IV, Mar 12 2012 *)
PROG
(PARI) a(n)=prime(n+2)-4 \\ Charles R Greathouse IV, Mar 12 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Juri-Stepan Gerasimov, Feb 01 2010
STATUS
approved