login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

Please make a donation to keep the OEIS running. We are now in our 56th year. In the past year we added 10000 new sequences and reached almost 9000 citations (which often say "discovered thanks to the OEIS").
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A267821 Primes whose base-9 representation is a square in base 10. 4
23, 73, 509, 643, 751, 1093, 1153, 1481, 1783, 2029, 6067, 8011, 8933, 9613, 16061, 24763, 30803, 44203, 64633, 74521, 82723, 88003, 94033, 103171, 106619, 118669, 126541, 133321, 154571, 158293, 163561, 165883, 179821, 197339, 202393, 207643, 225523, 234733, 264083, 268003, 284593, 288661, 324931 (list; graph; refs; listen; history; text; internal format)
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

In other bases: A267817 - A267821, A241246, A267490.

Sequence in context: A044161 A044542 A141945 * A237987 A157270 A102109

Adjacent sequences:  A267818 A267819 A267820 * A267822 A267823 A267824

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified November 24 06:53 EST 2020. Contains 338607 sequences. (Running on oeis4.)