login
A071805
Number of pairs (x,y) such that prime(x) + prime(y) = x*tau(x) + y*tau(y), 1<=x<=y<=n.
0
0, 1, 2, 2, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 8, 9, 10, 10, 10, 13, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 20, 20, 22, 22, 22, 22, 23, 23, 23, 23, 23, 23
OFFSET
1,3
PROG
(PARI) for(n=1, 130, print1(sum(i=1, n, sum(j=1, i, if(prime(i)+prime(j)-i*numdiv(i)-j*numdiv(j), 0, 1))), ", "))
CROSSREFS
Cf. A000005.
Sequence in context: A302437 A179932 A267649 * A063511 A334789 A283207
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Jun 06 2002
STATUS
approved