login
A278694
Primes p such that every suffix of the ternary (base-3) representation of p is either a prime or 1.
2
2, 3, 5, 7, 11, 19, 23, 29, 59, 61, 73, 83, 163, 167, 173, 181, 191, 223, 487, 491, 509, 547, 569, 653, 659, 677, 709, 1459, 1481, 1487, 1531, 1621, 1949, 2027, 2111, 4397, 4447, 4457, 4547, 4597, 4861, 4943, 5051, 5861, 6323, 6563
OFFSET
1,1
COMMENTS
All numbers are of one of the following forms base 3:
a. 10...02, where there are 0 or more 0's
b. 20...0x, where x is a, b, or 1, and there are 0 or more 0's
c. 10
d. 2
EXAMPLE
11 is in the sequence, since 11=102_3 and the base-3 suffix 2_3 is 2, which is prime.
659 is in the sequence, since 659=220102_3, and the base-3 suffixes are 20102_3=173, 102_3=11, and 2_3=2, all of which are prime.
CROSSREFS
Sequence in context: A143260 A246044 A039986 * A214837 A079346 A228062
KEYWORD
nonn,base
AUTHOR
Randy L. Ekl, Nov 26 2016
STATUS
approved