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.

A242309 a(n) = A211384(2n)/A211384(n).

Original entry on oeis.org

3, 2, 3, 3, 3, 2, 3, 4, 6, 6, 9, 9, 9, 8, 6, 5, 6, 4, 6, 7, 6, 5, 6, 6, 6, 8, 8, 9, 12, 12, 12, 14, 13, 12, 15, 18, 18, 12, 18, 20, 21, 20, 21, 21, 21, 20, 21, 20, 21, 24, 24, 20, 27, 26, 27, 20, 20, 16, 18, 21, 21, 21, 19, 18, 27, 30, 33, 33, 33, 48, 51, 42
Offset: 1

Views

Author

J. Lowell, May 10 2014

Keywords

Examples

			a(11) = 9 because A211384(22) = 198 and A211384(11) = 22 and 198/22 = 9.
		

Crossrefs

Cf. A211384.

Programs

  • Maple
    b:= proc(n) b(n):= `if`(n<3, 2*n-1, (h-> ceil((b(n-1)+1)/h)*h)
        (ilcm(map(b, numtheory[divisors](n) minus {1, n})[]))) end:
    a:= n-> b(2*n)/b(n):
    seq(a(n), n=1..100);  # Alois P. Heinz, May 20 2014
  • Mathematica
    b[1] = 1; b[2] = 3; b[n_] := b[n] = (Ceiling[(b[n-1]+1)/#]*#&)[LCM @@ Map[b, Most[Divisors[n]]]];
    a[n_] := b[2n]/b[n];
    Table[a[n], {n, 1, 80}] (* Jean-François Alcover, Mar 27 2017, after Alois P. Heinz *)

Extensions

More terms from Alois P. Heinz, May 10 2014