OFFSET
1,2
COMMENTS
Odd terms occur only on rows with odd index, and even terms only on rows with even index. Specifically: all terms k on row r are equal to r modulo 4, thus the first differences of each row are all multiples of 4.
All the terms on any particular row are either all multiples of two (or respectively: three, or six), or none of them are.
LINKS
FORMULA
EXAMPLE
The top left 12 x 12 corner of the array:
1, 5, 13, 29, 41, 61, 85, 125, 173, 209, 253, 281
2, 10, 26, 58, 82, 122, 170, 250, 346, 418, 506, 562
3, 39, 75, 147, 207, 291, 411, 579, 819, 927, 1155, 1635
4, 20, 52, 116, 164, 244, 340, 500, 692, 836, 1012, 1124
9, 21, 45, 93, 189, 381, 657, 765, 873, 1317, 1533, 1749
6, 78, 150, 294, 414, 582, 822, 1158, 1638, 1854, 2310, 3270
7, 11, 19, 35, 67, 131, 259, 311, 359, 515, 619, 655
8, 40, 104, 232, 328, 488, 680, 1000, 1384, 1672, 2024, 2248
81, 105, 165, 213, 333, 429, 669, 861, 1341, 1725, 2685, 2721
18, 42, 90, 186, 378, 762, 1314, 1530, 1746, 2634, 3066, 3498
23, 43, 79, 83, 103, 155, 163, 203, 307, 323, 403, 611
12, 156, 300, 588, 828, 1164, 1644, 2316, 3276, 3708, 4620, 6540
PROG
(Scheme, with Antti Karttunen's IntSeq-library)
;; Alternatively:
(define (A277710bi row col) ((rowfun-for-A277710 row) col))
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Antti Karttunen, Oct 29 2016
EXTENSIONS
The dispersion-style formula added by Antti Karttunen, Nov 06 2016
STATUS
approved