OFFSET
1,1
EXAMPLE
Smallest prime divisor of 21511 which is a concatenation of first four terms 2,1,5 and 11 is prime(4) = 7, 21511= 7^2*439.
MAPLE
catL := proc(L) local resul, a ; resul := 0 ; for a in L do resul := resul*10^(max(1, ilog10(a)+1))+a ; od ; RETURN(resul) ; end: A020639 := proc(n) op(1, op(1, ifactors(n)[2])) ; end: A095216 := proc(nmax) local a, anext, n; a := [2] ; while nops(a) < nmax do anext := 0 ; n := nops(a)+1 ; while A020639(catL([op(a), anext])) <> ithprime(n) do anext := anext+1 ; od; a := [op(a), anext] ; od ; RETURN(a) ; end: A095216(15) ; # R. J. Mathar, Aug 03 2007
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy, Jun 10 2004
EXTENSIONS
More terms from R. J. Mathar, Aug 03 2007
a(17)-a(53) from Donovan Johnson, May 13 2010
STATUS
approved