OFFSET
1,2
COMMENTS
If m belongs to this sequence, then 10*m also belongs to this sequence.
This sequence contains every multiple of 2520 (=lcm(1, 2, ..., 10)).
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10000
EXAMPLE
72 mod (7+1) = 0, and 72 mod (2+1) = 0, so 72 belongs to this sequence.
PROG
(PARI) is(n) = fromdigits(apply(d -> n%(d+1), digits(n)))==0
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, Jan 05 2020
STATUS
approved