This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A154786 #7 Jan 07 2019 03:13:16 %S A154786 0,0,0,8,10,12,14,32,36,40,44,72,52,56,90,64,102,144,38,120,168,132, %T A154786 138,240,200,156,270,168,174,360,124,320,396,136,350,432,296,380,546, %U A154786 320,328,672,344,352,810,368,376,672,294,600,816,520,530,864,660,784,1140 %N A154786 Row sums of triangle in A154725. %F A154786 a(n) = A154785(n) - n. %F A154786 a(n) = A005843(n)*A061357(n). - _Omar E. Pol_, Jan 20 2009 %p A154786 A154786 := proc(n) local a,d; a := 0 ; for d from 1 to n-2 do if isprime(n-d) and isprime(n+d) then a := a+2*n; fi; od: a ; end: for n from 1 to 80 do printf("%d,",A154786(n)) ; od: # _R. J. Mathar_, Jan 18 2009 %Y A154786 Cf. A154724, A154725, A154726, A154727, A154783, A154784, A154785. %Y A154786 Cf. A005843, A061357, A154720, A154787. - _Omar E. Pol_, Jan 20 2009 %K A154786 easy,nonn %O A154786 1,4 %A A154786 _Omar E. Pol_, Jan 15 2009, Jan 16 2009 %E A154786 Edited by _Omar E. Pol_, Jan 17 2009 %E A154786 Extended by _R. J. Mathar_, Jan 18 2009