|
|
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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
The base 3 variant of A256882, A256884, A256865, ..., A256870 in bases 2, ..., 10.
|
|
LINKS
|
Table of n, a(n) for n=1..67.
|
|
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
|
Cf. A256882 - A256884, A256865 - A256870, A256874 - A256879, A256786.
Sequence in context: A096156 A210968 A107277 * A124672 A289980 A109547
Adjacent sequences: A256880 A256881 A256882 * A256884 A256885 A256886
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
M. F. Hasler, Apr 11 2015
|
|
STATUS
|
approved
|
|
|
|