login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A154785
Row sums of triangle in A154724.
4
1, 2, 3, 12, 15, 18, 21, 40, 45, 50, 55, 84, 65, 70, 105, 80, 119, 162, 57, 140, 189, 154, 161, 264, 225, 182, 297, 196, 203, 390, 155, 352, 429, 170, 385, 468, 333, 418, 585, 360, 369, 714, 387, 396, 855, 414, 423, 720, 343, 650
OFFSET
1,2
COMMENTS
Also, row sums of triangle in A154726.
LINKS
FORMULA
a(n) = A154786(n) + n.
MAPLE
for n from 1 to 50 do rsum:=0: for k from 1 to 2*n-1 do if(k=n or (isprime(k) and isprime(2*n-k)))then rsum:=rsum+k:fi:od: printf("%d, ", rsum):od: # Nathaniel Johnston, Apr 19 2011
KEYWORD
easy,nonn
AUTHOR
Omar E. Pol, Jan 15 2009
EXTENSIONS
a(11)-a(50) from Nathaniel Johnston, Apr 19 2011
STATUS
approved