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!)
A371337 Numbers k>0 such that k = (sum of digits of k^2) + (product of nonzero digits of k^2). 0
127, 1467, 3052, 5860, 653230, 3483702, 43352128, 783820873, 8092385362, 622196951140, 1061882796441600145, 178949702436677222562 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
René-Louis Clerc, Nombres S+P, maxSP, minSP et |P-S|, pp. 1-15, 2024.
EXAMPLE
1467^2 = 2152089, (2+1+5+2+8+9) + (2*1*5*2*8*9) = 27 + 1440 = 1467.
PROG
(PARI) SplusP(k, r) = my(d=select(x->(x>0), digits(k^r))); vecsum(d) + vecprod(d) == k;
resuSplusP(p, r)=for(k=1, 10^p, if(SplusP(k, r) ==1, print1(k, ", ")))
CROSSREFS
Sequence in context: A300339 A189026 A287653 * A258012 A258002 A025598
KEYWORD
nonn,base,more
AUTHOR
René-Louis Clerc, Mar 19 2024
EXTENSIONS
a(9)-a(12) from Chai Wah Wu, Apr 20 2024
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 13 14:08 EDT 2024. Contains 372519 sequences. (Running on oeis4.)