OFFSET
1,3
COMMENTS
9 divides each term.
EXAMPLE
The 4th pair of twin primes is (17,19). a(4) then is the absolute value of 19 - 91, which is 72.
MATHEMATICA
a = {}; For[n = 1, n < 275, n++, If[Prime[n + 1] == Prime[n] + 2, AppendTo[a, Abs[Prime[n + 1] - FromDigits[Reverse[IntegerDigits[Prime[n + 1]]]]]]]]; a
PROG
(PARI) revdifftp2(n) = { forprime(x=1, n, if(isprime(x+2), a=vector(x); x1=x+2; z=0; ln=length(Str(x1)); for(y=1, ln, a[y] = x1%10; x1=floor(x1/10); ); for(y=1, ln, z += a[y]*10^(ln-y); ); print1(abs(z-(x+2))" "); ) ) }
CROSSREFS
KEYWORD
base,nonn,less
AUTHOR
Cino Hilliard, Nov 09 2003
EXTENSIONS
Edited by Stefan Steinerberger, Jul 22 2007
STATUS
approved