login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A224856
Numbers n such that 90*n + 29 and 90*n + 31 are twin primes.
1
0, 6, 7, 11, 14, 28, 30, 33, 37, 39, 47, 53, 61, 65, 74, 75, 76, 77, 84, 88, 91, 110, 128, 139, 152, 158, 170, 179, 180, 194, 195, 201, 215, 216, 228, 229, 251, 271, 282, 305, 308, 312, 334, 336, 345, 362, 366, 368, 370, 373, 383, 384, 410, 411, 413, 427, 450
OFFSET
1,2
FORMULA
A201739 INTERSECT A201819.
MAPLE
a:= proc(n) option remember; local k; for k from 1+
`if`(n=1, -1, a(n-1)) while not (isprime(29+(90*k))
and isprime(31+(90*k))) do od; k
end:
seq(a(n), n=1..100); # Alois P. Heinz, Jul 23 2013
MATHEMATICA
Select[Range[0, 499], PrimeQ[90# + 29] && PrimeQ[90# + 31] &] (* copied from: Alonso del Arte, Jul 22 2013 *)
CROSSREFS
Sequence in context: A190612 A270431 A315832 * A182156 A166496 A267413
KEYWORD
nonn,easy
AUTHOR
J. W. Helkenberg, Jul 22 2013
STATUS
approved