OFFSET
1,2
COMMENTS
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
MATHEMATICA
Select[Range[0, 9000], AllTrue[#/Prime[IntegerDigits[#, 7]+1], IntegerQ]&] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Sep 17 2020 *)
PROG
(PARI) is(n, b=7)=!for(i=1, #d=Set(digits(n, b)), n%prime(d[i]+1)&&return)
CROSSREFS
KEYWORD
nonn,base,changed
AUTHOR
M. F. Hasler, Apr 11 2015
STATUS
approved