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.

Showing 1-2 of 2 results.

A109045 a(n) = lcm(n,4).

Original entry on oeis.org

0, 4, 4, 12, 4, 20, 12, 28, 8, 36, 20, 44, 12, 52, 28, 60, 16, 68, 36, 76, 20, 84, 44, 92, 24, 100, 52, 108, 28, 116, 60, 124, 32, 132, 68, 140, 36, 148, 76, 156, 40, 164, 84, 172, 44, 180, 92, 188, 48, 196, 100, 204, 52, 212, 108, 220, 56, 228, 116, 236, 60
Offset: 0

Views

Author

Mitch Harris, Jun 18 2005

Keywords

Crossrefs

Programs

Formula

a(n) = 4n/gcd(n, 4).
a(n) = A084351(n), n > 1. - R. J. Mathar, Aug 20 2008
From R. J. Mathar, Apr 18 2011: (Start)
G.f.: 4*x*(1+x+3*x^2+x^3+3*x^4+x^5+x^6) / ( (x-1)^2*(1+x)^2*(x^2+1)^2 ).
a(n) = 4*n/A109008(n) = 4*A060819(n). (End)
Sum_{k=1..n} a(k) ~ (11/8) * n^2. - Amiram Eldar, Nov 26 2022

A084348 Triangle in which row n gives periodic part of a certain map.

Original entry on oeis.org

0, 0, 1, 2, 2, 1, 2, 1, 0, 1, 2, 0, 1, 0, 1, 2, 5, 4, 5, 2, 1, 2, 5, 2, 2, 4, 4, 1, 2, 5, 0, 1, 6, 5, 4, 1, 2, 5, 7, 2, 2, 4, 2, 8, 1, 2, 5, 6, 5, 6, 7, 0, 1, 0, 1, 2, 5, 5, 10, 7, 10, 5, 8, 7, 5, 1, 2, 5, 4, 5, 2, 1, 8, 5, 10, 5, 8, 1, 2, 5, 3, 0, 1, 7, 11, 11, 9, 0, 1, 0, 1, 2, 5, 2, 9, 4, 11, 8, 9, 12, 9, 2
Offset: 1

Views

Author

Benoit Cloitre, Jun 22 2003

Keywords

Comments

Let r(k,n)=floor(e*k!)-n*floor(e*k!/n) then for any n integer>0, sequence r(k,n) is n-periodic. Sequence gives periods of r(k,n) for fixed n.

Examples

			If n=7, r(k,7) is sequence 2, 5, 2, 2, 4, 4, 1, 2, 5, 2, 2, 4, 4, 1, 2, 5, 2, 2, 4, 4, 1, 2, 5, 2, 2, 4, 4, 1, 2, 5...... 7-periodic with period: (2, 5, 2, 2, 4, 4, 1,)
		

Crossrefs

Cf. A084351.
Showing 1-2 of 2 results.