A239348 Numbers that are not pandigital in any base b >= 3.
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 13, 14, 16, 17, 18, 20, 22, 23, 24, 25, 26, 27, 28, 30, 31, 36, 37, 39, 40, 41, 43, 44, 49, 50, 52, 53, 54, 56, 60, 62, 67, 68, 70, 71, 72, 74, 76, 77, 79, 80, 81, 82, 84, 85, 90, 91, 93, 94, 109, 111, 112, 117, 118, 121, 122, 124
Offset: 1
Examples
11 is not in the sequence because 11 = 102_3.
Links
- Joonas Pohjonen, Table of n, a(n) for n = 1..10000
Crossrefs
Cf. A154314.
Programs
-
Mathematica
nop[n_] := Block[{b=3, d}, While[ Length[d = IntegerDigits[n, b]] >= b && Union[d] != Range[0, b-1], b++]; Length[d] < b]; Select[Range[0, 124], nop] (* Giovanni Resta, Mar 17 2014 *)
-
PARI
isok(n) = {for (b = 3, n, d = digits(n, b); if (#vecsort(d,,8) == b, return(0));); return (1);} \\ Michel Marcus, Mar 17 2014
-
PARI
is(n)=for(b=3,log(n)\lambertw(log(n))+1, if(#Set(digits(n,b))==b, return(0))); 1 \\ Charles R Greathouse IV, Mar 17 2014
Formula
a(n) >> n^1.58..., where the exponent is log(3)/log(2). - Charles R Greathouse IV, Mar 17 2014
Comments