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.

A158128 a(n) = 100*n + 1.

Original entry on oeis.org

101, 201, 301, 401, 501, 601, 701, 801, 901, 1001, 1101, 1201, 1301, 1401, 1501, 1601, 1701, 1801, 1901, 2001, 2101, 2201, 2301, 2401, 2501, 2601, 2701, 2801, 2901, 3001, 3101, 3201, 3301, 3401, 3501, 3601, 3701, 3801, 3901, 4001, 4101, 4201, 4301, 4401
Offset: 1

Views

Author

Vincenzo Librandi, Mar 13 2009

Keywords

Comments

The identity (100*n+1)^2-(100*n^2+2*n)*10^2 = 1 can be written as a(n)^2-A158127(n)*10^2 = 1. - Vincenzo Librandi, Feb 11 2012

Crossrefs

Cf. A158127.

Programs

  • Magma
    I:=[101, 201]; [n le 2 select I[n] else 2*Self(n-1)-Self(n-2): n in [1..50]]; // Vincenzo Librandi, Feb 11 2012
    
  • Mathematica
    LinearRecurrence[{2, -1}, {101, 201}, 50] (* Vincenzo Librandi, Feb 11 2012 *)
    100*Range[50]+1 (* Harvey P. Dale, Apr 12 2024 *)
  • PARI
    for(n=1, 40, print1(100*n + 1", ")); \\ Vincenzo Librandi, Feb 11 2012

Formula

From Vincenzo Librandi, Feb 11 2012: (Start)
G.f.: x*(101-x)/(1-x)^2.
a(n) = 2*a(n-1)-a(n-2). (End)
E.g.f.: exp(x)*(100*x + 1) - 1. - Stefano Spezia, Jan 29 2025