%I #4 Nov 05 2014 11:22:19
%S 1,1,1,1,2,1,2,1,2,3,3,1,2,3,2,3,2,2,3,3,2,3,2,1,2,5,5,3,2,3,2,3,2,2,
%T 2,2,3,3,2,3,2,2,2,3,2,3,3,3,2,7,5,5,2,5,3,3,2,2,2,3,2,2,2,3,2,2,2,2,
%U 2,2,2,2,3,3,2,5,2,5,2,3,2,3,3,3,2,3,2,3,2,2,3,3,2,3,2,3,2,2,7,3,5,5,5,5,2,2,2,5,3,3,3,3,2,2,2,2,2,3,3,3,2
%N The largest prime whose square divides the first nonsquarefree number on row n of Pascal's triangle, 1 if all terms on that row are squarefree.
%F a(n) = A249740(A249716(n)).
%o (Scheme) (define (A249718 n) (A249740 (A249716 n)))
%Y Cf. A249716, A249740.
%Y Differs from A249717 for the first time at n=36, where a(36) = 3, while A249717(36) = 2.
%K nonn
%O 0,5
%A _Antti Karttunen_, Nov 04 2014