login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A194698
a(n) = floor((n - 1)/12) - floor((n^2 - 1)/(24*n)).
1
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4
OFFSET
1,37
COMMENTS
A similar formula for prime indices is mentioned in the abstract of the Folson-Kent-Ono paper (See A194699).
MATHEMATICA
Table[Floor[(n-1)/12]-Floor[(n^2-1)/(24n)], {n, 90}] (* Harvey P. Dale, Oct 23 2021 *)
CROSSREFS
Sequence in context: A211661 A111972 A073458 * A105519 A111891 A296076
KEYWORD
nonn,easy
AUTHOR
Omar E. Pol, Jan 18 2012
STATUS
approved