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.

A075022 a(1) = 1; for n>1, a(n) = the largest prime divisor of the number C(n) formed from the concatenation of 1,2,3,... up to n.

Original entry on oeis.org

1, 3, 41, 617, 823, 643, 9721, 14593, 3803, 1234567891, 630803, 2110805449, 869211457, 205761315168520219, 8230452606740808761, 1231026625769, 584538396786764503, 801309546900123763, 833929457045867563
Offset: 1

Views

Author

Amarnath Murthy, Sep 01 2002

Keywords

Examples

			a(4) = 617 since 1234 = 2*617.
		

Crossrefs

Programs

  • Mathematica
    a = {}; b = {}; Do[w = RealDigits[n]; w = First[w]; Do[AppendTo[a, w[[k]]], {k, 1, Length[w]}]; p = FromDigits[a]; AppendTo[b, First[Last[FactorInteger[p]]]], {n, 1, 25}]; b (* Artur Jasinski, Apr 04 2008 *)
    Table[FactorInteger[FromDigits[Flatten[IntegerDigits/@Range[n]]]][[-1,1]],{n,20}] (* Harvey P. Dale, Aug 31 2015 *)

Extensions

More terms from Sascha Kurz, Jan 03 2003