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!)
A334557 Numbers m such that m = p^2 + k^2, with p > 0, where p = A007954(m) = the product of digits of m. 3
1, 13, 41, 61, 125, 212, 281, 613, 1156, 1424, 2225, 3232, 3316, 4113, 11125, 11281, 11525, 12816, 14913, 16317, 16441, 19125, 21284, 21625, 24128, 25216, 27521, 31525, 53125, 56116, 61321, 65161, 71325, 82116, 82217, 83521, 84313, 111812, 113125, 113625, 115336, 115681, 117125, 118372 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
13 is a term as p = 1*3 = 3 and 13 = 3^2 + 2^2.
281 is a term as p = 2*8*1 = 16 and 281 = 16^2 + 5^2.
118372 is a term as p = 1*1*8*3*7*2 = 336 and 118372 = 336^2 + 74^2.
PROG
(PARI) isok(m) = my(p=vecprod(digits(m))); p && issquare(m - p^2); \\ Michel Marcus, May 06 2020
CROSSREFS
Sequence in context: A337146 A122730 A101167 * A146238 A039339 A031373
KEYWORD
nonn,base
AUTHOR
Scott R. Shannon, May 06 2020
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 18 23:43 EDT 2024. Contains 372666 sequences. (Running on oeis4.)