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.

A135617 a(n) is the initial digit of n-th even perfect number.

Original entry on oeis.org

6, 2, 4, 8, 3, 8, 1, 2, 2, 1, 1, 1, 2, 1, 5, 1, 9, 3, 1, 4, 1, 5, 3, 9, 1, 8, 3, 1, 1, 1, 2, 1, 8, 8, 3, 1, 8, 9, 4, 7, 4, 7, 4, 7, 2, 1, 5, 1
Offset: 1

Views

Author

Omar E. Pol, Mar 01 2008

Keywords

Comments

a(n) is also the initial digit of n-th perfect number A000396(n) if there are no odd perfect numbers.

Examples

			a(5) = 3 because the 5th even perfect number is 33550336 and the initial digit of 33550336 is 3.
		

Crossrefs

Programs

  • Mathematica
    lst = {* the list of terms in A000043 *}; f[n_] := Block[{pn = (2^n - 1) (2^(n - 1))}, Quotient[pn, 10^Floor[ Log[10, pn]] ]]; f@# & /@ lst (* Robert G. Wilson v, Apr 01 2008 *)

Extensions

More terms from Robert G. Wilson v, Apr 01 2008
Definition clarified by Omar E. Pol, Apr 14 2018
a(40)-a(47) from Ivan Panchenko, Apr 16 2018
a(48) from Amiram Eldar, Oct 16 2024