cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A082516 Differences between consecutive Niven (or Harshad) numbers.

This page as a plain text file.
%I A082516 #13 Oct 21 2020 09:09:23
%S A082516 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,
%T A082516 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,
%U A082516 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
%N A082516 Differences between consecutive Niven (or Harshad) numbers.
%C A082516 This sequence is unbounded since the asymptotic density of the Niven numbers is 0. - _Amiram Eldar_, Oct 21 2020
%H A082516 Amiram Eldar, <a href="/A082516/b082516.txt">Table of n, a(n) for n = 1..10000</a>
%F A082516 a(n) = A005349(n+1) - A005349(n). - _Amiram Eldar_, Oct 21 2020
%t A082516 Differences[Select[Range[500],Divisible[#,Total[IntegerDigits[#]]]&]] (* _Harvey P. Dale_, Aug 02 2018 *)
%Y A082516 Cf. A005349, A082517.
%K A082516 base,easy,nonn
%O A082516 1,10
%A A082516 _Jason Earls_, Apr 30 2003
%E A082516 Definition modified by _Harvey P. Dale_, Aug 02 2018