login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Numbers k that only contain a 0 in bases that divide k.
2

%I #28 Oct 08 2022 00:01:20

%S 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,

%T 156,158,160,186,192,212,214,216,222,240,288,312,420,432,468,474,480,

%U 484,618,620,624,840,942,948,960,996,1124,1200,1224,1494,1560,1656

%N Numbers k that only contain a 0 in bases that divide k.

%C Probably finite.

%H Chai Wah Wu, <a href="/A277779/b277779.txt">Table of n, a(n) for n = 1..261</a> (all terms < 10^11; first 250 terms from Charles R Greathouse IV)

%e 6 only contains a 0 in bases 2, 3, and 6. Those bases divide 6. Therefore, 6 is in this sequence.

%o (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

%Y Cf. A069575.

%K nonn,base

%O 1,2

%A _Bobby Jacobs_, Oct 30 2016

%E More terms from _Alois P. Heinz_, Oct 30 2016