|
|
A089968
|
|
Decimal primes whose decimal representation in base 16 is also prime.
|
|
1
|
|
|
2, 3, 5, 7, 17, 19, 23, 41, 67, 71, 83, 89, 97, 103, 113, 131, 137, 151, 257, 263, 311, 313, 337, 359, 401, 409, 547, 563, 569, 577, 593, 599, 617, 631, 641, 643, 659, 787, 823, 839, 857, 883, 919
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
EXAMPLE
|
43 is prime in decimal and 43 base 16 is 67 which is also prime in decimal.
|
|
MATHEMATICA
|
b16Q[n_]:= Module[{idn16=IntegerDigits[n, 16]}, Max[idn16]<10&&PrimeQ[FromDigits[idn16]]]; Select[Prime[Range[PrimePi[2000]]], b16Q] (* Vincenzo Librandi, Apr 18 2013 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|