cp's OEIS Frontend

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.

A270829 Smallest magic sum for any n X n semimagic square made from consecutive primes, or 0 if no such magic square exists.

Original entry on oeis.org

2, 0, 65573, 124, 313, 484, 797, 2016, 2211, 2862, 4507, 6188, 6325, 9660, 12669, 13016, 16857, 19530, 23069, 28184, 38761, 46302, 42515, 49846, 59087, 70260, 73385, 78960, 97267, 98316, 111023, 124454, 134641, 152952, 163043, 180596, 195975, 218432
Offset: 1

Views

Author

Arkadiusz Wesolowski, Mar 23 2016

Keywords

Comments

a(n) <= A073520(n). For n = 3 and 4, a(n) is different from A073520(n).

Crossrefs

Formula

a(2) = 0, otherwise a(n) = (1/n) * sum(m=k..n^2+k-1, A000040(m)), where k = A049084(A270830(n)).