login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A244358 Numbers n such that n, n+1, n+2, and n+3 are not divisible by any of their nonzero digits. 1
56, 506, 556, 586, 596, 656, 667, 757, 787, 857, 866, 867, 956, 976, 977, 5056, 5066, 5096, 5506, 5666, 5756, 5776, 5876, 5906, 5986, 5996, 6056, 6067, 6506, 6697, 6986, 7057, 7556, 7576, 7597, 7757, 7786, 7787, 7876, 7897, 7906, 7976, 7996, 8066, 8067, 8506, 8596, 8666, 8697 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

This is a subsequence of A244357.

All numbers end in a 6 or 7.

LINKS

Table of n, a(n) for n=1..49.

EXAMPLE

56, 57, 58, and 59 are not divisible by any of their digits. Thus, 56 is a member of this sequence.

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(4)

CROSSREFS

Cf. A038772, A237766, A244357.

Sequence in context: A220048 A257707 A067234 * A219832 A219576 A219943

Adjacent sequences:  A244355 A244356 A244357 * A244359 A244360 A244361

KEYWORD

nonn,base

AUTHOR

Derek Orr, Jun 26 2014

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified August 21 23:28 EDT 2017. Contains 290940 sequences.