OFFSET
1,1
EXAMPLE
n Pascal's Triangle
1 1
2 1 2 1
3 1 3 3 1
4 1 4 6 4 1
so 2, 2, 2 = smallest prime factors of row 4 = entries position 4, 5, 6 in the sequence.
PROG
(PARI) \Smallest prime factors of numbers in Pascal's triangle. pascal(n) = { local(x, y, z, f, z1); for(x=1, n, for(y=1, x-1, z=binomial(x, y); f=Vec(factor(z)); z1=f[1][1]; print1(z1", ") ); ) }
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Cino Hilliard, Jul 25 2004
STATUS
approved