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!)
A358693 Numbers k such that k / (sum of digits of k) is the square of a prime. 0
12, 24, 36, 48, 81, 150, 225, 375, 441, 735, 882, 1014, 1452, 1521, 1815, 2023, 2028, 2178, 2312, 2535, 2601, 3549, 3610, 4046, 4332, 4335, 4624, 4913, 5054, 5415, 5491, 5780, 6069, 6137, 6358, 6647, 6936, 7581, 7942, 8664, 8959, 9386, 9522, 9747, 10092, 11532, 12321, 12615, 12696 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Terms k from A001102 such that k / (sum of digits of k) is the square of a prime.
LINKS
MATHEMATICA
Select[Range[13000], PrimeQ[Sqrt[#/Plus @@ IntegerDigits[#]]] &] (* Amiram Eldar, Jan 01 2023 *)
PROG
(PARI) isok(k) = my(r); issquare(k/sumdigits(k), &r) && (denominator(r)==1) && isprime(r); \\ Michel Marcus, Jan 01 2023
CROSSREFS
Sequence in context: A367338 A069056 A359434 * A371413 A019550 A117304
KEYWORD
nonn,base
AUTHOR
Andi Fugard, Jan 01 2023
EXTENSIONS
More terms from Michel Marcus, Jan 01 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 May 29 11:04 EDT 2024. Contains 372938 sequences. (Running on oeis4.)