login

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

Smallest prime that does not divide at least one n-digit zeroless pandigital number.
1

%I #26 Apr 14 2015 11:10:10

%S 44449,900001,7000003,20000003,30000001,100000007,500000003,

%T 1000000007,6000000001

%N Smallest prime that does not divide at least one n-digit zeroless pandigital number.

%C How many first terms are in A182051?

%C The analogous sequence for pandigital numbers is A228253. - _Giovanni Resta_, Aug 19 2013

%H Carlos Rivera, <a href="http://www.primepuzzles.net/puzzles/puzz_259.htm">Puzzle 259</a>

%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/PandigitalNumber.html">Pandigital Number</a>

%t lst = Times @@ Union[FromDigits@# & /@ Permutations@Range[9]]; n = 1; While[True, p = Prime[n]; If[! Divisible[lst, p], Print[p]; Break[]]; n++]

%Y Cf. A164968, A182051.

%K base,more,nonn

%O 9,1

%A _Arkadiusz Wesolowski_, Mar 12 2013

%E a(11)-a(16) from _Giovanni Resta_, Mar 12 2013

%E a(17) from _Giovanni Resta_, Mar 13 2013