login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A267820 Primes whose base-6 representation is a square when read in base 10. 2
17, 89, 409, 449, 577, 953, 7649, 12401, 14593, 23689, 28393, 29033, 30689, 36809, 40153, 46457, 47969, 54577, 56393, 59273, 65033, 72649, 78713, 92033, 98953, 106033, 141353, 146249, 150209, 169657, 176489, 199889, 205433, 221849, 235273, 238481, 245033, 258569, 381841, 394633, 441193, 529273 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Primes in the sequence A267766.
LINKS
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
In other bases: A267817 - A267821, A241246, A267490.
Sequence in context: A139947 A162930 A138338 * A200670 A057638 A159676
KEYWORD
nonn,base
AUTHOR
Christopher Cormier, Jan 20 2016
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 20 03:03 EDT 2024. Contains 371798 sequences. (Running on oeis4.)