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.

A182306 a(n+1) = a(n) + floor(a(n)/5) with a(0)=5.

Original entry on oeis.org

5, 6, 7, 8, 9, 10, 12, 14, 16, 19, 22, 26, 31, 37, 44, 52, 62, 74, 88, 105, 126, 151, 181, 217, 260, 312, 374, 448, 537, 644, 772, 926, 1111, 1333, 1599, 1918, 2301, 2761, 3313, 3975, 4770, 5724, 6868, 8241, 9889, 11866, 14239, 17086, 20503, 24603, 29523, 35427, 42512
Offset: 0

Views

Author

Alex Ratushnyak, Apr 23 2012

Keywords

Crossrefs

Programs

  • Maple
    f:= proc(n) option remember; procname(n-1) + floor(procname(n-1)/5)
    end proc:
    f(0):= 5:
    map(f, [$0..100]); # Robert Israel, Mar 12 2018
  • Mathematica
    NestList[#+Floor[#/5]&,5,60] (* Harvey P. Dale, Aug 18 2024 *)
  • Python
    a=5
    for i in range(55):
        print(a, end=', ')
        a += a//5