|
Search: id:A096007
|
|
|
| A096007 |
|
Scan Pascal's triangle (A007318) from left to right, record smallest prime factor of each entry. |
|
+0 1
|
|
| 2, 3, 3, 2, 2, 2, 5, 2, 2, 5, 2, 3, 2, 3, 2, 7, 3, 5, 5, 3, 7, 2, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, 3, 2, 3, 2, 2, 2, 2, 2, 3, 2, 11, 5, 3, 2, 2, 2, 2, 3, 5, 11, 2, 2, 2, 3, 2, 2, 2, 3, 2, 2, 2, 13, 2, 2, 5, 3, 2, 2, 3, 5, 2, 2, 13, 2, 7, 2, 7, 2, 3, 2, 3, 2, 7, 2, 7, 2, 3, 3, 5, 3, 3, 5, 3, 3, 5, 3, 3, 5, 3
(list; graph; listen)
|
|
|
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.
|
|
PROGRAM
|
(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
|
Cf. A007318.
Sequence in context: A011154 A048466 A096838 this_sequence A059252 A030620 A110764
Adjacent sequences: A096004 A096005 A096006 this_sequence A096008 A096009 A096010
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
Cino Hilliard (hillcino368(AT)gmail.com), Jul 25 2004
|
|
|
Search completed in 0.002 seconds
|