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.

A078604 Largest prime factor of the integer formed by truncating the decimal expansion of Pi to n places.

Original entry on oeis.org

3, 31, 157, 349, 103, 314159, 392699, 8263, 7853, 9786893, 28954771, 157079632679, 68246533, 4304347, 67649047, 1002742628021, 1170899, 990371647, 14523877, 1186001, 1023100457, 451661057, 1492315939, 381315143078063, 950007203269
Offset: 0

Views

Author

Jason Earls, Dec 09 2002

Keywords

Examples

			a(3) = 157 since 314 = 2*157.
		

Crossrefs

Programs

  • Mathematica
    f[n_] := FactorInteger[ IntegerPart[ Pi*10^(n - 1)]][[-1, 1]]; Array[f, 23] (* Robert G. Wilson v, May 30 2015 *)
  • PARI
    a(n) = vecmax(factor(floor(Pi*10^n))[, 1]); \\ Michel Marcus, Dec 28 2013

Formula

a(n) = A006530(A011545(n)). - Michel Marcus, Dec 28 2013
a(n) = A011545(n) iff n is a term in A060421. - Robert G. Wilson v, May 30 2015

Extensions

More terms from Ryan Moore, Dec 28 2013