A054476 Numbers not divisible by any of their digits when written in base 5.
13, 17, 19, 23, 53, 65, 67, 73, 77, 79, 85, 89, 94, 95, 97, 98, 103, 113, 115, 118, 119, 253, 263, 265, 269, 313, 317, 319, 323, 325, 329, 335, 337, 343, 347, 349, 353, 365, 367, 373, 377, 379, 385, 389, 394, 395, 397, 398, 425, 427, 437, 439, 443, 445, 449
Offset: 1
Links
- Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
Programs
-
PARI
is(n)=my(d=Set(digits(n,5))); for(i=if(d[1],1,2),#d, if(n%d[i]==0, return(0))); 1 \\ Charles R Greathouse IV, Feb 23 2017