login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A175973
Primes p such that each of the decimal numbers p^k for k=1..7 has exactly two 1s.
0
14591, 11225237, 12050149, 13801993, 89186231, 119474633, 125361787, 126196387, 127491563, 128153203, 137018603, 137399173, 157801387, 213873157, 299431019, 731831437, 1146462257, 1149800857, 1236918523, 1452210367, 1712996843, 1719567953, 1918333693, 1955601727
OFFSET
1,1
COMMENTS
Subsequence of A175972 which in turn is subsequence of A175964.
PROG
(Python)
from somewhere import primegen
for p in primegen():
if all(str(p**k).count('1') == 2 for k in range(1, 8)):
print(p) # Lucas A. Brown, Mar 23 2024
CROSSREFS
Sequence in context: A252145 A249082 A175972 * A265651 A153428 A032736
KEYWORD
base,nonn
AUTHOR
Zak Seidov, Nov 01 2010
EXTENSIONS
a(19)-a(24) from Lucas A. Brown, Mar 23 2024
Definition clarified by N. J. A. Sloane, Mar 23 2024.
STATUS
approved