[go: up one dir, main page]

login
A235476
Primes whose base-2 representation also is the base-6 representation of a prime.
1
3, 5, 7, 11, 17, 19, 29, 41, 53, 67, 101, 127, 193, 263, 281, 337, 353, 431, 461, 479, 487, 499, 523, 593, 599, 631, 743, 757, 773, 821, 823, 829, 857, 883, 887, 941, 1013, 1021, 1093, 1117, 1259, 1279, 1303, 1367, 1373, 1429, 1439, 1459, 1471, 1483, 1493, 1511, 1583, 1619, 1699, 1759, 1831, 1847, 1879, 1931, 1951, 1987
OFFSET
1,1
COMMENTS
This sequence is part of a two-dimensional array of sequences, given in the LINK, based on this same idea for any two different bases b, c > 1. Sequence A235265 and A235266 are the most elementary ones in this list. Sequences A089971, A089981 and A090707 through A090721, and sequences A065720 - A065727, follow the same idea with one base equal to 10.
For further motivation and cross-references, see sequence A235265 which is the main entry for this whole family of sequences.
EXAMPLE
5 = 101_2 and 101_6 = 37 are both prime, so 5 is a term.
7 = 111_2 and 111_6 = 43 are both prime, so 7 is a term.
MATHEMATICA
Select[Prime[Range[300]], PrimeQ[FromDigits[IntegerDigits[#, 2], 6]]&] (* Harvey P. Dale, Jan 03 2022 *)
PROG
(PARI) is(p, b=6)=isprime(vector(#d=binary(p), i, b^(#d-i))*d~)&&isprime(p)
CROSSREFS
Cf. A235463A077720, A235475, A152079, A235266, A065720A036952, A065721 - A065727, A089971A020449, A089981, A090707 - A091924, A235394, A235395, A235461 - A235482. See the LINK for further cross-references.
Sequence in context: A045396 A155779 A337815 * A349638 A045397 A211409
KEYWORD
nonn,base
AUTHOR
M. F. Hasler, Jan 12 2014
STATUS
approved