A087513 Primes consisting only of digits 1 and 6 occurring with equal frequency.
61, 16166611, 16616161, 61116661, 61661161, 66161611, 1166116661, 1166166161, 1166166611, 1166616161, 1616616611, 1661116661, 6111166661, 6111666611, 6116116661, 6161161661, 6161166161, 6161166611, 6161661161, 6166111661, 6166161161, 6611616611, 6616161161, 6616161611
Offset: 1
Links
- Andrew Howroyd, Table of n, a(n) for n = 1..5201 (first 5001 terms from Harvey P. Dale)
Programs
-
Mathematica
Table[Select[FromDigits/@Permutations[PadRight[{},2*n,{1,6}]],PrimeQ],{n,5}]//Flatten//Sort (* Harvey P. Dale, May 28 2019 *)
-
PARI
\\ Needs B() from A087510. concat(vector(6,k,B(k,1,6,isprime))) \\ Andrew Howroyd, Sep 21 2024
Extensions
Offset changed by Andrew Howroyd, Sep 21 2024
Comments