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.

A151973 Numbers n such that n^2 - n is divisible by 24.

Original entry on oeis.org

0, 1, 9, 16, 24, 25, 33, 40, 48, 49, 57, 64, 72, 73, 81, 88, 96, 97, 105, 112, 120, 121, 129, 136, 144, 145, 153, 160, 168, 169, 177, 184, 192, 193, 201, 208, 216, 217, 225, 232, 240, 241, 249, 256, 264, 265, 273, 280, 288, 289, 297, 304, 312, 313, 321, 328, 336, 337, 345
Offset: 1

Views

Author

N. J. A. Sloane, Aug 23 2009

Keywords

Programs

Formula

a(n) = a(n-1)+a(n-4)-a(n-5) for n>5. G.f.: x^2*(8*x^3+7*x^2+8*x+1) / ((x-1)^2*(x+1)*(x^2+1)). - Colin Barker, Nov 29 2012
a(n) = (12*n+3*i^(n*(n-1))-2*(-1)^n-17)/2, where i=sqrt(-1). - Bruno Berselli, Nov 29 2012