|
Search: id:A086151
|
|
|
| A086151 |
|
Number of permutations of decimal digits of 2^n which yield a prime. |
|
+0 1
|
|
| 1, 0, 0, 1, 1, 0, 2, 0, 2, 4, 0, 0, 5, 19, 10, 3, 87, 9, 0, 377, 293, 84, 9, 265, 142, 502
(list; graph; listen)
|
|
|
OFFSET
|
1,7
|
|
|
FORMULA
|
a(n)=A039999[A000079(n)]
|
|
EXAMPLE
|
n=19: 2^19=524288, has 180 permutations, each composite,a(19)=0;
n=13: 2^13=8192, the following 5 of the 24 permutations provide primes: {8219,8291,1289,9281,2819}.
|
|
MATHEMATICA
|
Table[Count[Table[PrimeQ[tn[Part[Permutations[ IntegerDigits[2^w]], j]]], {j, 1, Length[Permutations[ IntegerDigits[2^w]]]}], True], {w, 1, 20}]
|
|
CROSSREFS
|
Cf. A039999, A086150, A000079.
Sequence in context: A072514 A071547 A089839 this_sequence A099090 A099040 A136717
Adjacent sequences: A086148 A086149 A086150 this_sequence A086152 A086153 A086154
|
|
KEYWORD
|
base,nonn
|
|
AUTHOR
|
Labos E. (labos(AT)ana.sote.hu), Aug 04 2003
|
|
|
Search completed in 0.002 seconds
|