

A140532


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


0




OFFSET

1,1


COMMENTS

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


LINKS

Table of n, a(n) for n=1..9.


EXAMPLE

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


MATHEMATICA

Length /@ Table[Select[FromDigits /@ Permutations[Range@9, {i}], PrimeQ], {i, 9}] (* Wei Zhou, Oct 02 2011 *)


CROSSREFS

Cf. A112371.
Sequence in context: A074358 A255050 A055296 * A217482 A099898 A003489
Adjacent sequences: A140529 A140530 A140531 * A140533 A140534 A140535


KEYWORD

nonn,base,fini,full


AUTHOR

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


EXTENSIONS

Corrected by Charles R Greathouse IV, Aug 02 2010


STATUS

approved



