

A256882


Numbers divisible by prime(d+1) for each digit d of their base2 representation.


13



0, 3, 6, 12, 15, 18, 24, 30, 36, 42, 48, 54, 60, 63, 66, 72, 78, 84, 90, 96, 102, 108, 114, 120, 126, 132, 138, 144, 150, 156, 162, 168, 174, 180, 186, 192, 198, 204, 210, 216, 222, 228, 234, 240, 246, 252, 255, 258, 264, 270, 276, 282, 288, 294, 300, 306, 312, 318, 324, 330, 336, 342, 348, 354, 360, 366, 372, 378, 384, 390, 396, 402
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,2


COMMENTS

Also, numbers divisible by 3 which are even or have no digit zero in their base2 representation.
The base2 variant of A256883  A256884, A256865  A256870 in bases 3,...,10.


LINKS

Table of n, a(n) for n=1..72.


EXAMPLE

6 = 110_2 (in base 6), and 6 is divisible by prime(1+1)=3 and by prime(0+1) = 2.
9 = 101_2 is not in the sequence because it is odd but has a binary digit 0.


PROG

is(n, b=2)=!for(i=1, #d=Set(digits(n, b)), n%prime(d[i]+1)&&return)


CROSSREFS

Cf. A256883  A256884, A256865  A256870, A256786, A256874  A256879.
Sequence in context: A310122 A336068 A319451 * A191267 A145204 A016051
Adjacent sequences: A256879 A256880 A256881 * A256883 A256884 A256885


KEYWORD

nonn,base


AUTHOR

M. F. Hasler, Apr 11 2015


STATUS

approved



