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.

A082482 a(n) = floor of (2^n-1)/n.

Original entry on oeis.org

1, 1, 2, 3, 6, 10, 18, 31, 56, 102, 186, 341, 630, 1170, 2184, 4095, 7710, 14563, 27594, 52428, 99864, 190650, 364722, 699050, 1342177, 2581110, 4971026, 9586980, 18512790, 35791394, 69273666, 134217727, 260301048, 505290270, 981706810
Offset: 1

Views

Author

Jon Perry, Apr 27 2003

Keywords

Comments

a(n) is the largest exponent k such that (2^n)^k || (2^n)!. - Lekraj Beedassy, Jan 15 2024

Examples

			a(3) = floor((2^3-1)/3) = floor(7/3) = floor(2.333) = 2.
		

Crossrefs

a(n) = A053638(n) - 1.

Programs

  • Maple
    seq(floor((2^n-1)/n), n=1..100); # Robert Israel, Dec 01 2016
  • PARI
    for (n=1,50,print1(floor((2^n-1)/n)","))

Formula

a(n) = (2^n - 1 - A082495(n))/n = A162214(n)/n. - Robert Israel, Dec 01 2016