A328515 Number of primes in permutations of digits per permutation class of the positive integers ordered by smallest member of this class excluding leading zeros.
0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 2, 1, 0, 1, 2, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 1, 0, 2, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 2, 0, 0, 1, 0, 0, 0, 1, 0, 1, 1, 0, 1, 2, 0, 1, 0, 1, 3, 0, 1, 0, 0, 2, 2, 0, 0, 2, 2, 0, 2, 2, 0, 2, 1, 0, 3, 3, 0, 2, 0, 1, 2, 0, 0, 4, 0, 0, 3, 0, 0
Offset: 0
Examples
A179239(67) = 103. Its permutations of digits without leading zeros are 103, 130, 301, 310. Of these, only 103 is prime which is one number. So a(67) = 1.
Links
- David A. Corneth, Table of n, a(n) for n = 0..9999
Comments