login
A082516
Differences between consecutive Niven (or Harshad) numbers.
3
1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 6, 2, 1, 3, 3, 3, 6, 4, 2, 3, 3, 2, 4, 6, 3, 7, 2, 8, 1, 3, 6, 10, 2, 6, 2, 1, 1, 2, 3, 3, 6, 6, 1, 2, 5, 4, 6, 2, 1, 3, 6, 9, 9, 10, 2, 3, 3, 2, 1, 3, 3, 2, 1, 6, 4, 2, 2, 1, 3, 2, 4, 6, 3, 4, 5, 9, 3, 2, 4, 10, 5, 3, 12, 6, 2, 4, 3, 5, 2, 2, 6, 3, 3, 6, 9, 9, 4, 6, 2, 3, 3, 14, 4, 3
OFFSET
1,10
COMMENTS
This sequence is unbounded since the asymptotic density of the Niven numbers is 0. - Amiram Eldar, Oct 21 2020
LINKS
FORMULA
a(n) = A005349(n+1) - A005349(n). - Amiram Eldar, Oct 21 2020
MATHEMATICA
Differences[Select[Range[500], Divisible[#, Total[IntegerDigits[#]]]&]] (* Harvey P. Dale, Aug 02 2018 *)
CROSSREFS
Sequence in context: A049061 A342670 A298782 * A318709 A204935 A008905
KEYWORD
base,easy,nonn
AUTHOR
Jason Earls, Apr 30 2003
EXTENSIONS
Definition modified by Harvey P. Dale, Aug 02 2018
STATUS
approved