cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A278694 Primes p such that every suffix of the ternary (base-3) representation of p is either a prime or 1.

Original entry on oeis.org

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

Views

Author

Randy L. Ekl, Nov 26 2016

Keywords

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

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.