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.

A081834 a(1)=1, a(n)=a(n-1)+4 if n is already in the sequence, a(n)=a(n-1)+3 otherwise.

Original entry on oeis.org

1, 4, 7, 11, 14, 17, 21, 24, 27, 30, 34, 37, 40, 44, 47, 50, 54, 57, 60, 63, 67, 70, 73, 77, 80, 83, 87, 90, 93, 97, 100, 103, 106, 110, 113, 116, 120, 123, 126, 130, 133, 136, 139, 143, 146, 149, 153, 156, 159, 163, 166, 169, 172, 176, 179, 182, 186, 189, 192, 196
Offset: 1

Views

Author

Benoit Cloitre, Apr 11 2003

Keywords

Comments

In the Fokkink-Joshi paper, this sequence is the Cloitre (0,1,4,3)-hiccup sequence, - Michael De Vlieger, Jul 29 2025

Crossrefs

Programs

Formula

a(n) = floor(rn-(3r-1)/(r+1)) where r = (1/2) *(3+sqrt(13)).