OFFSET
1,1
COMMENTS
This is a subsequence of A244356.
All numbers end in a 6, 7, or 8.
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
56, 57, and 58 are not divisible by their digits. Thus, 56 is a member of this sequence.
MATHEMATICA
SequencePosition[Table[If[NoneTrue[n/Select[IntegerDigits[n], #>0&], IntegerQ], 1, 0], {n, 5100}], {1, 1, 1}][[All, 1]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Mar 15 2018 *)
PROG
(Python)
def a(n):
..for i in range(10**4):
....tot = 0
....for k in range(i, i+n):
......c = 0
......for b in str(k):
........if b != '0':
..........if k%int(b)!=0:
............c += 1
......if c == len(str(k))-str(k).count('0'):
........tot += 1
....if tot == n:
......print(i, end=', ')
a(3)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Derek Orr, Jun 26 2014
STATUS
approved