|
|
A277779
|
|
Numbers k that only contain a 0 in bases that divide k.
|
|
2
|
|
|
1, 2, 3, 4, 6, 7, 8, 12, 14, 15, 16, 22, 24, 30, 36, 42, 44, 48, 60, 63, 72, 80, 90, 96, 120, 156, 158, 160, 186, 192, 212, 214, 216, 222, 240, 288, 312, 420, 432, 468, 474, 480, 484, 618, 620, 624, 840, 942, 948, 960, 996, 1124, 1200, 1224, 1494, 1560, 1656
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
Probably finite.
|
|
LINKS
|
|
|
EXAMPLE
|
6 only contains a 0 in bases 2, 3, and 6. Those bases divide 6. Therefore, 6 is in this sequence.
|
|
PROG
|
(PARI) is(n)=for(b=2, sqrtint(n-1), if(Set(digits(n, b))[1]==0 && n%b, return(0))); 1 \\ Charles R Greathouse IV, Oct 31 2016
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|