|
Search: id:A087510
|
|
|
| A087510 |
|
Primes consisting only of digits 0 and 1 occurring with equal frequency. |
|
+0 18
|
|
| 10010101, 10100011, 1000011011, 1000110101, 1001000111, 1001001011, 1001010011, 1010000111, 1010001101, 1010010011, 1010100011, 1010110001, 1011000101, 1100001101, 1101001001, 10000101011101, 10000111100011
(list; graph; listen)
|
|
|
OFFSET
|
1,1
|
|
|
LINKS
|
T. D. Noe, Table of n, a(n) for n=1..1000
|
|
MAPLE
|
Primes consisting only of digits x and y, occurring with equal frequency. d1=x; d2=y; k=0; a=vector(100); for(n=1, 3000, B=binary(n); L=length(B); s=sum(j=1, length(B), B[j]); if(L%2==0 & s==L/2, C=vector(L, n, (d2-d1)*B[n]+d1); p=subst(Pol(C), x, 10); if(isprime(p), if(k<100, k++; a[k]=p)); D=vector(L, n, d2-(d2-d1)*B[n]); q=subst(Pol(D), x, 10); if(isprime(q ), if(k<100, k++; a[k]=q))); ); a=vector(k, n, a[n]); vecsort(a)
|
|
CROSSREFS
|
Cf. A087511, A087512, A087513.
Sequence in context: A017515 A017647 A072144 this_sequence A139120 A107273 A106605
Adjacent sequences: A087507 A087508 A087509 this_sequence A087511 A087512 A087513
|
|
KEYWORD
|
base,nonn
|
|
AUTHOR
|
Paul D. Hanna (pauldhanna(AT)juno.com) and Amarnath murthy (amarnath_murthy(AT)yahoo.com), Sep 11 2003
|
|
|
Search completed in 0.002 seconds
|