|
| |
|
|
A094944
|
|
A sequence with a(n)/a(n-1) converging to 7, generated from a semi-magic square.
|
|
1
| |
|
|
1, 17, 121, 769, 5681, 39121, 274345, 1922945, 13447009, 94165777, 659108825, 4613711233, 32296542097, 226073894609, 1582520918281, 11077645104385, 77543495432897, 542804558486545, 3799631689665337, 26597422073425409
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,2
|
|
|
COMMENTS
| 3 rows: 1 4 2, 2 1 4, 4 2 1 form a semi-magic square: row sums and columns and the diagonal = 7, the convergent of the sequence.
|
|
|
FORMULA
| Let M = the 3 X 3 matrix [1 4 2 / 2 1 4 / 4 2 1], then with M^n * [1 0 0] = [p q r], a(n) = p.
|
|
|
EXAMPLE
| a(4) = 769 since M^4 * [1 0 0] = [769 824 808].
|
|
|
MATHEMATICA
| a[n_] := (MatrixPower[{{1, 4, 2}, {2, 1, 4}, {4, 2, 1}}, n].{{1}, {0}, {0}})[[1, 1]]; Table[ a[n], {n, 10}] (from Robert G. Wilson v May 29 2004)
|
|
|
CROSSREFS
| Cf. A094943 uses the same format and operations but with different terms.
Sequence in context: A010823 A022709 A196806 * A108682 A031213 A196145
Adjacent sequences: A094941 A094942 A094943 * A094945 A094946 A094947
|
|
|
KEYWORD
| nonn
|
|
|
AUTHOR
| Gary W. Adamson (qntmpkt(AT)yahoo.com), May 25 2004
|
|
|
EXTENSIONS
| Edited and extended by Robert G. Wilson v (rgwv(AT)rgwv.com), May 29 2004
|
| |
|
|