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!)
A325454 a(n) is the digit sum of the n-th Niven number (or Harshad number). 1
1, 2, 3, 4, 5, 6, 7, 8, 9, 1, 3, 9, 2, 3, 6, 9, 3, 9, 4, 6, 9, 12, 5, 9, 6, 9, 7, 9, 8, 9, 12, 9, 1, 3, 9, 2, 3, 4, 6, 9, 3, 9, 6, 7, 9, 5, 9, 6, 8, 9, 12, 9, 9, 9, 10, 12, 15, 18, 2, 3, 6, 9, 11, 3, 9, 4, 6, 8, 9, 12, 5, 9, 6, 9, 13, 9, 9, 12, 14, 9, 10, 15 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) = A005349(n)/A113315(n).
a(n) = A007953(A005349(n)).
PROG
(PARI) is_a005349(n) = n%sumdigits(n)==0
terms(n) = my(i=0); for(k=1, oo, if(i>=n, break); if(is_a005349(k), print1(sumdigits(k), ", "); i++))
terms(80) \\ Print initial 80 terms
CROSSREFS
Sequence in context: A061486 A264600 A138470 * A112875 A113018 A113009
KEYWORD
nonn,base,easy
AUTHOR
Felix Fröhlich, Sep 06 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 23 02:41 EDT 2024. Contains 371906 sequences. (Running on oeis4.)