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.

A166986 a(n) = 2*floor((n+2)/log(2)) - 4.

Original entry on oeis.org

4, 6, 10, 12, 16, 18, 20, 24, 26, 30, 32, 36, 38, 42, 44, 46, 50, 52, 56, 58, 62, 64, 68, 70, 72, 76, 78, 82, 84, 88, 90, 94, 96, 98, 102, 104, 108, 110, 114, 116, 120, 122, 124, 128, 130, 134, 136, 140, 142, 146, 148, 150, 154, 156, 160, 162, 166, 168, 172, 174, 176
Offset: 1

Views

Author

Stephen Crowley, Oct 26 2009

Keywords

Comments

With a different offset, partial sums of A022934, cf. formula.
The first terms appear to satisfy a linear recurrence relation of order 10 (or higher if more terms are included), but this can be proved to be impossible, cf. R. Israel's post to the SeqFan list. - M. F. Hasler, Apr 11 2019

Crossrefs

Cf. A022934.

Programs

Formula

a(n) = 2*floor((n+2)/log(2)) - 4.
a(n) = 2*Sum_{k=2,..,n+1} A022934(k).