A278694 Primes p such that every suffix of the ternary (base-3) representation of p is either a prime or 1.
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
Examples
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.
Comments