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.

A279517 Record values of A156140 (accumulation of Stern's diatomic series).

Original entry on oeis.org

-1, 0, 1, 3, 7, 8, 13, 17, 18, 21, 30, 35, 37, 47, 58, 59, 70, 73, 87, 94, 113, 121, 134, 139, 166, 189, 211, 221, 251, 259, 271, 304, 339, 389, 410, 419, 461, 474, 479, 553, 621, 640, 705, 740, 741, 835, 856, 868, 899, 991, 996, 1109, 1120, 1264, 1327, 1339
Offset: 1

Views

Author

Keywords

Crossrefs

Programs

  • PARI
    r=0; v=List([-1,0]); u=["",-1,0]; for(n=2,1e10, u=[u[2],u[3],(2*valuation(n-1, 2)+1)*u[3] - u[2]]; if(u[3]>r, r=u[3]; listput(v,t); print("a("#v") = "t", ")))

Formula

a(n) = A156140(A279516(n)).