The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A135284 Sum of staircase twin primes according to the rule: top + bottom - next top. 0
 3, 1, 7, 7, 19, 25, 49, 43, 97, 79, 127, 121, 169, 187, 169, 217, 211, 259, 253, 277, 277, 409, 403, 403, 475, 541, 583, 595, 625, 511, 799, 817, 799, 835, 745, 1009, 1015, 1039, 1033, 1033, 1075, 1183, 1267, 1279, 1285, 1213, 1405, 1423, 1477, 1369, 1597, 1573 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 COMMENTS The case for bottom - top + next top produces A006512(n+1), the upper twin primes > 5. LINKS FORMULA We list the twin primes in staircase fashion as in A135283. Then a(n) = tl(n) + tu(n) + (-tl(n+1)). a(n) = A054735(n)-A001359(n+1). - R. J. Mathar, Sep 10 2016 PROG (PARI) g(n) = for(x=1, n, y=twinu(x) + twinl(x) - twinl(x+1); print1(y", ")) twinl(n) = / *The n-th lower twin prime. */ { local(c, x); c=0; x=1; while(c

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

Last modified September 24 15:28 EDT 2021. Contains 347643 sequences. (Running on oeis4.)