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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A256870 Numbers divisible by prime(d+1) for each digit d of their base 10 representation. 14
0, 20, 44, 111, 120, 171, 200, 210, 220, 290, 440, 520, 1020, 1110, 1113, 1200, 1710, 1914, 2000, 2010, 2020, 2030, 2100, 2145, 2200, 2220, 2310, 2420, 2900, 3220, 3381, 4004, 4048, 4400, 4444, 5200, 5525, 6120, 7220, 8280, 9338 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

A variant of A256786 where digits 0 are forbidden and divisibility by prime(d) is required.

See A256882 - A256884, A256866 - A256869 for the analog in bases 2, ..., 9.

LINKS

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

EXAMPLE

0 is divisible by prime(0+1)=2.

n = 1,...,9 are not divisible by prime(n+1) = 3, 5, ..., 29, respectively.

20 is divisible by prime(2+1)=5 and by prime(0+1)=2. The same is true for any other 2...20...0 =  2*10^k*(10^m-1)/9; k>=1 ,m>=0.

44 is divisible by prime(4+1)=11.

PROG

is(n, b=10)=!for(i=1, #d=Set(digits(n, b)), n%prime(d[i]+1)&&return)

CROSSREFS

Cf. A256882, A256883, A256884, A256865 - A256869, A256874 - A256879, A256786.

Sequence in context: A043145 A043925 A211459 * A134619 A219716 A044097

Adjacent sequences:  A256867 A256868 A256869 * A256871 A256872 A256873

KEYWORD

nonn,base

AUTHOR

M. F. Hasler, Apr 11 2015

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
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified February 19 08:57 EST 2019. Contains 320309 sequences. (Running on oeis4.)