OFFSET
1,1
COMMENTS
After a(1) all the terms are odd.
After a(2) all terms are relatively prime to 42. - Charles R Greathouse IV, Jan 22 2017
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
EXAMPLE
a(6) = 619 is in the sequence because 619_10 = 1543_7 = 1153_8 = 757_9; and 1543, 1153 and 757 are prime when read in decimal.
a(7) = 1249 is in the sequence because 1249_10 = 3433_7 = 2341_8 = 1637_9; and 3433, 2341 and 1637 are prime when read in decimal.
MATHEMATICA
Select[Range[500000], PrimeQ[FromDigits[IntegerDigits[#, 7]]] && PrimeQ[FromDigits[IntegerDigits[#, 8]]] && PrimeQ[FromDigits[IntegerDigits[#, 9]]] &]
PROG
(PARI) is(n)=for(b=7, 9, if(!isprime(fromdigits(digits(n, b))), return(0))); 1 \\ Charles R Greathouse IV, Jan 22 2017
CROSSREFS
KEYWORD
nonn,base
AUTHOR
K. D. Bajpai, Jan 22 2017
STATUS
approved