login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A022795
Place where n-th 1 occurs in A023133.
1
1, 5, 12, 22, 35, 51, 70, 92, 118, 147, 179, 214, 252, 293, 337, 385, 436, 490, 547, 607, 670, 736, 806, 879, 955, 1034, 1116, 1201, 1289, 1381, 1476, 1574, 1675, 1779, 1886, 1996, 2110, 2227, 2347, 2470, 2596, 2725, 2857, 2993, 3132, 3274
OFFSET
1,2
EXAMPLE
a(n) = 1 + Sum_{k=1..n-1} ceiling(r*k) where r=Pi. [Benoit Cloitre, Jan 24 2009]
PROG
(PARI) a(n)=1+sum(k=1, n-1, ceil(Pi*k)) \\ Benoit Cloitre, Jan 24 2009
CROSSREFS
Cf. A023133.
Sequence in context: A134340 A373171 A000326 * A025734 A153818 A069627
KEYWORD
nonn
STATUS
approved