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

A100770 Concatenation of first n terms of A100769 divided by n.

Original entry on oeis.org

1, 6, 41, 309, 2473, 20609, 1766488, 15456771, 137393521, 12365416891, 1124128808274, 103045140758451, 9511859146933940, 883244063643865859, 82436112606760813509, 7728385556883826266471, 727377464177301295667861
Offset: 1

Views

Author

Amarnath Murthy, Nov 27 2004

Keywords

Examples

			a(7) = 1766488 = 12365416/7, where 12365416 is the concatenation of first seven terms of A100769.
		

Crossrefs

Cf. A100669.

Extensions

More terms from Joshua Zucker, May 27 2005

A099552 a(n) is the smallest positive integer such that the concatenation of the first n terms is divisible by n.

Original entry on oeis.org

1, 2, 3, 2, 5, 2, 5, 6, 1, 10, 2, 12, 5, 14, 5, 6, 8, 10, 15, 20, 7, 6, 18, 24, 25, 6, 32, 32, 3, 10, 1, 12, 41, 34, 5, 6, 8, 46, 33, 20, 34, 36, 21, 24, 30, 36, 36, 48, 23, 50, 56, 44, 34, 42, 30, 48, 9, 26, 4, 60, 44, 34, 33, 60, 65, 28, 16, 32, 66, 20, 29, 44, 78, 48, 75, 52, 9, 8, 37
Offset: 1

Views

Author

David Wasserman, Oct 21 2004

Keywords

Crossrefs

Programs

  • Mathematica
    spi[{ctn_,n_,a_}]:=Module[{k=1},While[Mod[ctn*10^IntegerLength[k]+k,n+1] != 0,k++];{ctn*10^IntegerLength[k]+k,n+1,k}]; NestList[spi,{1,1,1},80][[All,3]] (* Harvey P. Dale, Nov 30 2022 *)
  • PARI
    num = 1; print(1); for (n = 2, 9, c = 10*num%n; d = n - c; print(d); num = 10*num + d); for (n = 10, 90, c = 10*num%n; d = n - c; if (d < 10, print(d); num = 10*num + d, c = 100*num%n; d = n - c; if (d < 10, d = d + n); print(d); num = 100*num + d));

A073894 a(0)=1; a(n) for n > 0 is the smallest number not used earlier such that the concatenation of a(0),...,a(n) is a multiple of n+1.

Original entry on oeis.org

1, 0, 2, 4, 5, 6, 9, 12, 15, 10, 11, 24, 25, 8, 30, 40, 41, 18, 28, 20, 27, 46, 31, 52, 50, 32, 38, 60, 61, 80, 55, 36, 44, 120, 45, 48, 78, 26, 64, 160, 93, 14, 23, 140, 95, 98, 21, 76, 51, 100, 56, 92, 84, 34, 85, 68, 3, 62, 115, 180, 81, 74, 88, 128, 75, 58, 72, 124, 134
Offset: 0

Views

Author

Amarnath Murthy, Aug 17 2002

Keywords

Comments

Does every nonnegative integer eventually appear?

Examples

			Concatenation of a(0),...,a(6) is 1024569, not used so far are 3, 7, 8, 10, 11, 12, ..., the smallest of these that appended to 1024569 gives a multiple of 8 is 12: 102456912 = 8*12807114, hence a(7) = 12.
		

Crossrefs

Extensions

Edited and extended by Klaus Brockhaus, Mar 28 2006
Showing 1-3 of 3 results.