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!)
A172367 Numbers k > 0 such that k+4 is a prime. 19
1, 3, 7, 9, 13, 15, 19, 25, 27, 33, 37, 39, 43, 49, 55, 57, 63, 67, 69, 75, 79, 85, 93, 97, 99, 103, 105, 109, 123, 127, 133, 135, 145, 147, 153, 159, 163, 169, 175, 177, 187, 189, 193, 195, 207, 219, 223, 225, 229, 235, 237, 247, 253, 259, 265, 267, 273, 277, 279 (list; graph; refs; listen; history; text; internal format)
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, 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
Union of A023200 and A164384.
Sequence in context: A111225 A032678 A073671 * A336234 A024901 A258011
KEYWORD
nonn,easy
AUTHOR
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 March 29 07:27 EDT 2024. Contains 371265 sequences. (Running on oeis4.)