|
|
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Primes p such that the binary representation of p, considered as a decimal number, is congruent mod p to the prime previous to p.
|
|
LINKS
|
|
|
EXAMPLE
|
a(3) = 29 is a member because 29 = 11101_2, 11101 == 23 (mod 29), and 23 is the prime previous to 29.
|
|
MAPLE
|
select(t -> isprime(t) and convert(t, binary) mod t = prevprime(t), [seq(i, i=3..1000, 2)]);
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,more
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|