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”).

A067527
n - 3^k is a prime for all k > 0 such that 3^k < n.
4
5, 6, 8, 14, 16, 20, 22, 26, 32, 40, 46, 50, 56, 70, 110, 140, 260, 470, 1190, 1330
OFFSET
1,1
COMMENTS
Is the sequence finite?
No other terms below 3^36. - Max Alekseyev, Dec 12 2011
EXAMPLE
40 is a member as 40 - 3 = 37, 40 - 9 = 31, 40 - 27 = 13 are all primes.
MATHEMATICA
A067527 = {}; Do[k = 1; While[p = n - 3^k; p > 0 && PrimeQ[p], k++]; If[p <= 0, AppendTo[A067527, n]], {n, 4, 10000}]; A067527 (* T. D. Noe, Feb 20 2005 *)
CROSSREFS
Cf. A067526.
Cf. A039669 (n - 2^k is prime).
Sequence in context: A334120 A323041 A105830 * A105057 A058336 A285499
KEYWORD
nonn,hard,more
AUTHOR
Amarnath Murthy, Feb 17 2002
EXTENSIONS
More terms from Sascha Kurz, Mar 18 2002
Edited by Max Alekseyev, Dec 12 2011
STATUS
approved