A279956 Primes p such that every suffix of the base-4 representation of p is either a prime or 1.
2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 37, 43, 53, 59, 61, 67, 71, 83, 101, 107, 131, 139, 151, 157, 181, 193, 197, 199, 211, 229, 251, 257, 263, 269, 293, 317, 449, 467, 523, 541, 571, 613, 619, 643, 709, 769, 773, 787, 797, 811, 821, 827, 829, 839, 907, 919, 967, 997, 1019, 1031, 1061
Offset: 1
Examples
107 is a term in the sequence, since 107_10=1223_4, and 223_4, 23_4 and 3_4 (43_10, 11_10, and 3_10) are all prime.
Links
- Indranil Ghosh, Table of n, a(n) for n = 1..807