OFFSET
1,1
COMMENTS
Primes in the sequence A267769.
LINKS
Chai Wah Wu, Table of n, a(n) for n = 1..10000
EXAMPLE
73 in base 9 is 81, and 81 = 9^2 in base 10.
MATHEMATICA
Select[Prime@ Range@ 28000, IntegerQ@ Sqrt@ FromDigits@ IntegerDigits[#, 9] &] (* Michael De Vlieger, Jan 24 2016 *)
PROG
(Python)
from sympy import isprime
A267821_list = [int(d, 9) for d in (str(i**2) for i in range(1, 10**6)) if max(d) < '9' and isprime(int(d, 9))] # Chai Wah Wu, Feb 22 2016
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Christopher Cormier, Jan 20 2016
STATUS
approved