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.

A022785 Place where n-th 1 occurs in A023123.

Original entry on oeis.org

1, 4, 10, 19, 30, 44, 61, 81, 103, 128, 156, 186, 219, 255, 294, 335, 379, 426, 475, 527, 582, 640, 700, 763, 829, 897, 968, 1042, 1119, 1198, 1280, 1365, 1452, 1542, 1635, 1731, 1829, 1930, 2034, 2141, 2250, 2362, 2477, 2594, 2714, 2837, 2963
Offset: 1

Views

Author

Keywords

Programs

  • PARI
    a(n)=1+sum(k=1,n-1,ceil(exp(1)*k)) \\ Benoit Cloitre, Jan 24 2009

Formula

a(n) = 1 + Sum_{k=1..n-1} ceiling(e*k). - Benoit Cloitre, Jan 24 2009