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-1 of 1 results.

A100769 Beginning with 1, least positive integer not occurring earlier such that the n-th partial concatenation is a multiple of n.

Original entry on oeis.org

1, 2, 3, 6, 5, 4, 16, 8, 9, 10, 14, 12, 20, 26, 35, 36, 37, 44, 7, 40, 31, 22, 19, 28, 25, 32, 39, 56, 60, 70, 43, 52, 49, 30, 15, 48, 51, 58, 59, 120, 50, 64, 93, 88, 65, 86, 61, 168, 101, 100, 57, 68, 13, 84, 155, 104, 158, 54, 127, 80, 133, 38, 78, 144, 45, 138, 18, 76
Offset: 1

Views

Author

Amarnath Murthy, Nov 27 2004

Keywords

Examples

			a(7) = 16 as the concatenation 12365416 of first seven terms is a multiple of 7. No number less than 16 and more than 6 fits in.
		

Crossrefs

Programs

  • Mathematica
    a[1] = 1; a[n_] := a[n] = Block[{t = 1}, While[Mod[FromDigits@ Flatten[IntegerDigits /@ Join[Array[a, n - 1], {t}]], n] != 0 || MemberQ[Array[a, n - 1], t], t++]; t]; Array[a, 68] (* Giorgos Kalogeropoulos, May 07 2023 *)
  • PARI
    See Link section.

Extensions

More terms from Joshua Zucker, May 27 2005
Showing 1-1 of 1 results.