login
A256878
Numbers divisible by prime(d) for each digit d in their base-8 representation, none of which may be zero.
2
18, 35, 78, 84, 90, 138, 210, 255, 330, 429, 588, 594, 910, 1098, 1170, 1275, 1386, 1530, 1755, 1820, 1950, 2156, 2275, 2706, 3315, 3510, 3927, 3978, 4746, 4758, 4794, 4900, 4914, 5202, 5610, 5850, 6244, 6300, 6412, 6930, 7254, 7410, 7462, 7566, 8778, 8850, 9042, 9354, 9435, 9492
OFFSET
1,1
COMMENTS
Base-8 analog of A256786. See A256874 - A256879 for the base-4, ..., base-9 analogs.
See A256868 for a variant where divisibility by prime(d+1) is required instead.
PROG
(PARI) is(n, b=8)=!for(i=1, #d=Set(digits(n, b)), (!d[i]||n%prime(d[i]))&&return)
KEYWORD
nonn,base
AUTHOR
M. F. Hasler, Apr 11 2015
STATUS
approved