login
A156838
Row sums of triangle A156837
3
1, 3, 3, 7, 3, 13, 3, 17, 11, 17, 3, 51, 3, 21, 37, 55, 3, 83, 3, 113, 63, 29, 3, 271, 75, 33, 103, 223, 3, 453, 3, 329, 139, 41, 427, 897, 3, 45, 189, 1265, 3, 1267, 3, 651, 1277, 53, 3, 2943, 929, 1571, 313, 1001, 3, 3147, 2009, 4843
OFFSET
1,2
COMMENTS
a(n) = 3 iff n is prime.
FORMULA
Row sums of triangle A156837.
EXAMPLE
a(4) = 7 since row 4 of triangle A156837 = (3, 3, 0, 1).
MAPLE
A156838 := proc(n)
add(A156837(n, k), k=1..n) ;
end proc: # R. J. Mathar, Mar 03 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
Extended beyond a(14) by R. J. Mathar, Mar 03 2013
STATUS
approved