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