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.

A097046 a(n) = a(n-1) + a(floor(sqrt(n))) for n > 1; a(1) = 1.

Original entry on oeis.org

1, 2, 3, 5, 7, 9, 11, 13, 16, 19, 22, 25, 28, 31, 34, 39, 44, 49, 54, 59, 64, 69, 74, 79, 86, 93, 100, 107, 114, 121, 128, 135, 142, 149, 156, 165, 174, 183, 192, 201, 210, 219, 228, 237, 246, 255, 264, 273, 284, 295, 306, 317, 328, 339, 350, 361, 372, 383, 394, 405
Offset: 1

Views

Author

Rick L. Shepherd, Jul 20 2004

Keywords

Comments

By definition, this sequence consists of an infinite sequence of finite subsequences of increasing lengths with common differences a(1), a(2), a(3), ..., respectively.

Crossrefs

Cf. A097045 ( a(n-1) - a(floor(sqrt(n))) ).

Programs

  • Maple
    a:= proc(n) option remember;
         `if`(n<2, 1, a(n-1)+a(floor(sqrt(n))))
        end:
    seq(a(n), n=1..80);  # Alois P. Heinz, Apr 09 2021

Formula

a(1)=1; a(n) = a(n-1) + a(floor(sqrt(n))) for n > 1.