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!)
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 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Is the sequence finite?
No other terms below 3^36. - Max Alekseyev, Dec 12 2011
LINKS
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

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 28 14:21 EDT 2024. Contains 371254 sequences. (Running on oeis4.)