login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A256866 Numbers divisible by prime(d+1) for each digit d of their base-6 representation. 6

%I #16 Jun 29 2019 03:54:09

%S 0,6,21,36,42,126,216,222,252,258,273,300,480,510,525,560,693,735,756,

%T 770,777,880,924,1001,1012,1296,1302,1320,1326,1332,1338,1380,1482,

%U 1512,1518,1548,1554,1560,1590,1638,1716,1740,1770,1785,1800,1995,2058,2079,2310,2418

%N Numbers divisible by prime(d+1) for each digit d of their base-6 representation.

%C The base-6 variant of A256882 - A256884, A256866 - A256870 in bases 2, ..., 10.

%C A variant of A256876 where digits 0 are forbidden and divisibility by prime(d) is required.

%e 0 is divisible by prime(0+1)=2.

%e 6 = 10_6 in base 6, and is divisible by prime(1+1)=3 and by prime(0+1)=2.

%e 21 = 33_6, and is divisible by prime(3+1)=7.

%e n = 1, 2, 3, 4, 5 are not divisible by prime(n+1) = 3, 5, 7, 11, 13, respectively. 7=11_6, 8=12_6, 10=13_6, ... are not divisible by prime(1+1)=3; 9=12_7 is not divisible by prime(2+1)=5, etc.

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

%Y Cf. A256882, A256883, A256884, A256865-A256870, A256874-A256879, A256786.

%K nonn,base

%O 1,2

%A _M. F. Hasler_, Apr 11 2015

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 18 06:54 EDT 2024. Contains 374377 sequences. (Running on oeis4.)