The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A028868 Primes that when squared give numbers with digits in nonascending order. 4
2, 3, 29, 31 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
No other solutions below 2*10^9 (probably finite). - Dec 15 1999
No other solutions below 10^32. - David A. Corneth, Oct 28 2023
LINKS
David A. Corneth, PARI program
EXAMPLE
From David A. Corneth, Oct 28 2023: (Start)
31 is in the sequence as 31 is prime and 31^2 = 961 which has its digits in nonascending order.
2979 is not in the sequence even though 2979^2 = 8874441 does have digits in nonascending order but 2979 = 3^2 * 331 is not prime. (End)
PROG
(PARI) is(n) = my(d = digits(n^2)); d == vecsort(d, , 4) && isprime(n) \\ David A. Corneth, Oct 28 2023
(PARI) \\ see link for a faster program
CROSSREFS
Sequence in context: A371024 A351693 A324941 * A081332 A106868 A098419
KEYWORD
nonn,base,hard,more
AUTHOR
EXTENSIONS
Name clarified by Jon E. Schoenfield, Oct 27 2023
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 June 12 21:26 EDT 2024. Contains 373360 sequences. (Running on oeis4.)