login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A071807 Number of pairs (x,y) such that prime(x) - prime(y) = x*tau(x) - y*tau(y), 1<=x<=y<=n. 0
1, 2, 4, 5, 7, 8, 9, 10, 11, 13, 14, 15, 16, 18, 21, 22, 23, 24, 25, 26, 29, 30, 31, 32, 33, 34, 36, 37, 38, 39, 40, 42, 43, 45, 47, 48, 49, 50, 52, 53, 54, 55, 56, 57, 58, 60, 61, 62, 63, 65, 67, 69, 70, 71, 73, 74, 75, 76, 77, 78, 79, 80, 83, 84, 85, 86, 87, 91, 92, 94, 95 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
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: A000394 A039184 A039137 * A074232 A007417 A039099
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Jun 06 2002
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 00:30 EDT 2024. Contains 371917 sequences. (Running on oeis4.)