OFFSET
0,1
LINKS
Robert G. Wilson v, Table of n, a(n) for n = 0..169 (first 101 terms from Ryan Moore)
I. O. Angell, and H. J. Godwin, On Truncatable Primes Math. Comput. 31, 265-267, 1977.
Hisanori Mishima, Decimal expansions of π (n = 0 to 100)
Hisanori Mishima, Decimal expansions of π (n = 101 to 200)
Hisanori Mishima, Decimal expansions of π (n = 201 to 250)
FORMULA
EXAMPLE
a(3) = 157 since 314 = 2*157.
MATHEMATICA
f[n_] := FactorInteger[ IntegerPart[ Pi*10^(n - 1)]][[-1, 1]]; Array[f, 23] (* Robert G. Wilson v, May 30 2015 *)
PROG
(PARI) a(n) = vecmax(factor(floor(Pi*10^n))[, 1]); \\ Michel Marcus, Dec 28 2013
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Jason Earls, Dec 09 2002
EXTENSIONS
More terms from Ryan Moore, Dec 28 2013
STATUS
approved