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.

A206371 a(n) = 31*2^n + 1.

Original entry on oeis.org

32, 63, 125, 249, 497, 993, 1985, 3969, 7937, 15873, 31745, 63489, 126977, 253953, 507905, 1015809, 2031617, 4063233, 8126465, 16252929, 32505857, 65011713, 130023425, 260046849, 520093697, 1040187393, 2080374785, 4160749569, 8321499137, 16642998273
Offset: 0

Views

Author

Brad Clardy, Feb 07 2012

Keywords

Crossrefs

Programs

  • Magma
    [31*2^n +1 : n in [0..35]];
    
  • Mathematica
    1+31*2^Range[0,50] (* G. C. Greubel, Jan 05 2023 *)
  • PARI
    a(n)=31<Charles R Greathouse IV, Jun 01 2015
    
  • SageMath
    [1+31*2^n for n in range(51)] # G. C. Greubel, Jan 05 2023

Formula

a(n) = 31*2^n + 1.
a(n) = A198275(n) + 2*A083686(n).
From G. C. Greubel, Jan 05 2023: (Start)
a(n) = 31*A000079(n) + 1.
a(n) = A257548(n) + 1, for n > 5.
G.f.: (32-33*x)/((1-x)*(1-2*x)).
E.g.f.: exp(x) + 31*exp(2*x). (End)