OFFSET
1,2
EXAMPLE
0 is divisible by prime(0+1)=2.
12 = 110_3 (in base 3), and is divisible by prime(1+1)=3 and by prime(0+1)=2.
PROG
(PARI) is(n, b=3)=!for(i=1, #d=Set(digits(n, b)), n%prime(d[i]+1)&&return)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
M. F. Hasler, Apr 11 2015
STATUS
approved