OFFSET
1,2
COMMENTS
See A151995 for the nonmonotonic version.
EXAMPLE
1+2 (=3) divides 12 --> HIT
1+2+3 (=6) does not divide 123
1+2+4 (=7) does not divide 124
1+2+5 (=8) does not divide 125
1+2+6 (=9) divides 126 --> HIT
...
PROG
(Python)
from itertools import count, islice
def agen(): # generator of terms
an, s, c = 1, 1, "1"
while True:
yield an
an = next(k for k in count(an+1) if int(c+str(k))%(s+k) == 0)
s, c = s+an, c+str(an)
print(list(islice(agen(), 11))) # Michael S. Branicky, Apr 21 2026
CROSSREFS
KEYWORD
nonn,base,more
AUTHOR
N. J. A. Sloane, Oct 07 2009, based on a posting to the Sequence Fans Mailing List by Eric Angelini, Sep 29 2009
EXTENSIONS
Corrected by Zak Seidov, Oct 08 2009
a(14)-a(20) from Donovan Johnson, Jul 20 2010
a(21)-a(23) from Max Alekseyev, Jun 18 2011
STATUS
approved
