proposed
approved
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”).
proposed
approved
editing
proposed
(PARI) isok(n) = (n>=10) && isprime(fromdigits(digits(n), n)); \\ Michel Marcus, Dec 04 2016
(PARI) isok(n) = isprime(fromdigits(digits(n), n)); \\ Michel Marcus, Dec 04 2016
proposed
editing
editing
proposed
editing
proposed
Name corrected by Robert Israel, Dec 04 2016
Numbers of more than one digit that yield primes when cast in their own base.
All terms are coprime to 10. - Robert Israel, Dec 04 2016
Robert Israel, <a href="/A064507/b064507.txt">Table of n, a(n) for n = 1..10000</a>
filter:= proc(n) local L, i;
L:= convert(n, base, 10);
isprime(add(L[i]*n^(i-1), i=1..nops(L)))
end proc:
select(filter, [seq(i, i=11..2000, 2)]); # Robert Israel, Dec 04 2016
approved
editing
proposed
approved