login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A140532 Number of primes with n distinct decimal digits, none of which are 0. 0

%I

%S 4,20,83,395,1610,5045,12850,23082,0

%N Number of primes with n distinct decimal digits, none of which are 0.

%C a(9) is zero because 1+2+...+9=45 which is divisible by 3, making any number with 9 distinct digits also divisible by 3. - _Wei Zhou_, Oct 02 2011

%e a(1) = #{2,3,5,7} = 4.

%e a(2) = #{13,17,19,23,...,97} = 20. Note that the prime 11 is omitted because its decimal digits are not distinct.

%t Length /@ Table[Select[FromDigits /@ Permutations[Range@9, {i}], PrimeQ], {i,9}] (* _Wei Zhou_, Oct 02 2011 *)

%Y Cf. A112371.

%K nonn,base,fini,full

%O 1,1

%A Norman Morton (mathtutorer(AT)yahoo.com), Jul 03 2008

%E Corrected by _Charles R Greathouse IV_, Aug 02 2010

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 18 16:38 EDT 2019. Contains 322209 sequences. (Running on oeis4.)