A147995 Array of N X N grid hopping "almost-walk", read by antidiagonals.
0, 1, 3, 6, 2, 14, 5, 7, 13, 15, 26, 4, 8, 12, 58, 27, 25, 9, 11, 59, 57, 22, 24, 30, 10, 54, 56, 62, 21, 23, 29, 31, 53, 55, 61, 63, 106, 20, 18, 28, 32, 52, 50, 60, 234, 107, 105, 19, 17, 33, 35, 51, 49, 235, 233, 108, 104, 100, 16, 38, 34, 46, 48, 236, 232, 228, 111
Offset: 0
Examples
Antidiagonals begin: { 0}, { 1, 3}, { 6, 2, 14}, { 5, 7, 13, 15}, {26, 4, 8, 12, 58}, {27, 25, 9, 11, 59, 57}, {22, 24, 30, 10, 54, 56, 62}, {21, 23, 29, 31, 53, 55, 61, 63}
References
- Clifford A. Pickover, The Zen of Magic Squares, Circles, and Stars: An Exhibition of Surprising Structures across Dimensions, Princeton University Press, 2002, pp. 285-289.
Links
- A. Karttunen, Table of n, a(n) for n = 0..8255
- Jay Kappraff and Gary W. Adamson, Generalized Genomic Matrices, Silver Means, & Pythagorean Triples, FORMA 2009, v24 p.41-48.
- Index entries for sequences that are permutations of the natural numbers
Crossrefs
Programs
-
Mathematica
M = {{0, 3, 14, 15, 58, 57, 62, 63}, {1, 2, 13, 12, 59, 56, 61, 60}, {6, 7, 8, 11, 54, 55, 50, 49}, {5, 4, 9, 10, 53, 52, 51, 48}, {26, 25, 30, 31, 32, 35, 46, 47}, {27, 24, 29, 28, 33, 34, 45, 44}, {22, 23, 18, 17, 38, 39, 40, 43}, {21, 20, 19, 16, 37, 36, 41, 42}}; Table[Table[M[[n - m + 1, m]], {m, 1, n}], {n, 1, Length[M]}]; Flatten[%]
Formula
M = {{0, 3, 14, 15, 58, 57, 62, 63}, {1, 2, 13, 12, 59, 56, 61, 60}, {6, 7, 8, 11, 54, 55, 50, 49}, {5, 4, 9, 10, 53, 52, 51, 48}, {26, 25, 30, 31, 32, 35, 46, 47}, {27, 24, 29, 28, 33, 34, 45, 44}, {22, 23, 18, 17, 38, 39, 40, 43}, {21, 20, 19, 16, 37, 36, 41, 42}}; t(n,m) = antidiagonal(M).
Extensions
Edited, extended, keywords tabl and obsc added and offset changed from 1 to 0 by Antti Karttunen, Aug 01 2009
Comments