A330541 Triangle read by rows: T(n,k) = gcd {x^n - x^k : x is an integer}, 0 < k < n.
2, 6, 2, 2, 12, 2, 30, 2, 24, 2, 2, 60, 2, 24, 2, 42, 2, 120, 2, 24, 2, 2, 252, 2, 240, 2, 24, 2, 30, 2, 504, 2, 240, 2, 24, 2, 2, 60, 2, 504, 2, 240, 2, 24, 2, 66, 2, 120, 2, 504, 2, 240, 2, 24, 2, 2, 132, 2, 240, 2, 504, 2, 240, 2, 24, 2
Offset: 2
Examples
Table begins: n\k| 1 2 3 4 5 6 7 8 9 10 11 ---+------------------------------------------------- 2 | 2; 3 | 6, 2; 4 | 2, 12, 2; 5 | 30, 2, 24, 2; 6 | 2, 60, 2, 24, 2; 7 | 42, 2, 120, 2, 24, 2; 8 | 2, 252, 2, 240, 2, 24, 2; 9 | 30, 2, 504, 2, 240, 2, 24, 2; 10 | 2, 60, 2, 504, 2, 240, 2, 24, 2; 11 | 66, 2, 120, 2, 504, 2, 240, 2, 24, 2; 12 | 2, 132, 2, 240, 2, 504, 2, 240, 2, 24, 2.
Links
- Peter Kagey, Table of n, a(n) for n = 2..10012 (first 141 rows, flattened)
- Mathematics Stack Exchange, Computing gcd {n^k - n^l : n in Z}.
Comments