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.

A185243 a(n) = A185128(n) + A185129(n).

Original entry on oeis.org

36, 276, 1081, 1770, 5886, 5671, 12246, 16653, 60031, 60726, 147153, 293761, 264628, 257403, 574056, 665281, 477753, 1345620, 1512930, 1450956, 2039190, 1695561, 1682695, 3454506, 3560446, 3932610, 2595781, 3589860, 3969153, 4258821, 8427565, 9003646, 12110581
Offset: 1

Views

Author

Martin Renner, Jan 20 2012

Keywords

Comments

See A185128 for further information.

References

  • Albert H. Beiler, Recreations in the theory of numbers, New York, Dover, (2nd ed.) 1966, p. 197, no. 8.

Crossrefs

Programs

  • PARI
    lista(nn) = {v = vector(nn, n, n*(n+1)/2); for (n=2, nn, for (k=1, n-1, if (ispolygonal(v[n]+v[k], 3) && ispolygonal(v[n]-v[k], 3), print1(v[n]+v[k], ", "));););} \\ Michel Marcus, Jan 08 2015

Extensions

Edited by N. J. A. Sloane, Dec 28 2024 (replaced definition with simpler and more explicit formula from Michel Marcus, Jan 08 2015)