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!)
A325450 Numbers k such that sum of digits (k) and sum of digits (k^2) is 9. 1
9, 18, 45, 90, 180, 351, 450, 900, 1800, 3510, 4500, 9000, 18000, 35100, 45000, 90000, 180000, 351000, 450000, 900000, 1800000, 3510000, 4500000, 9000000, 18000000 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
A007953(A058369(n)) begins with 1, 9, 1, 9, 10, 9, 10, 10, 9, 18, ...; the 1's come from A011557, the 9's come from this sequence, the 10's come from A325451.
LINKS
EXAMPLE
a(3) = 45 because 4+5 = 9, 45^2 = 2025, and 2+0+2+5 = 9.
MATHEMATICA
Select[Range[2 10^7], Total[IntegerDigits[#]]==9&& Total[IntegerDigits[#^2]]==9&]
PROG
(Magma) [n: n in [1..2*10^7] | &+Intseq(n^2) eq 9 and &+Intseq(n) eq 9];
CROSSREFS
Subsequence of A058369 (k and k^2 have same digit sum).
Sequence in context: A370016 A057373 A153185 * A212345 A086500 A022669
KEYWORD
nonn,base
AUTHOR
Vincenzo Librandi, May 10 2019
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 April 24 03:08 EDT 2024. Contains 371918 sequences. (Running on oeis4.)