login
A256883
Numbers divisible by prime(d+1) for each digit d of their base-3 representation.
8
0, 12, 20, 30, 36, 60, 80, 84, 90, 108, 120, 150, 170, 180, 210, 240, 246, 252, 270, 282, 300, 324, 330, 336, 354, 360, 390, 420, 450, 480, 510, 540, 560, 570, 600, 630, 650, 660, 690, 710, 720, 732, 738, 750, 756, 768, 780, 810, 822, 840, 846, 870, 900, 930, 960, 972, 984, 990, 1002, 1008, 1020, 1050, 1056, 1062, 1080, 1092, 1110
OFFSET
1,2
COMMENTS
The base-3 variant of A256882, A256884, A256865, ..., A256870 in bases 2, ..., 10.
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