login
Square array A(row,col) = A255545(row,col+1) - A255545(row,col): the first differences of each row of Lucky-Unlucky array.
4

%I #11 Apr 30 2015 21:44:45

%S 1,2,2,2,6,12,2,6,20,18,2,6,22,30,32,2,6,20,34,52,40,2,6,22,30,50,62,

%T 64,2,6,20,32,52,64,92,84,2,6,22,30,54,62,100,116,108,2,6,20,34,48,72,

%U 92,120,156,124,2,6,22,30,50,64,102,120,152,168,138,2,6,20,32,52,62,96,124,156,168,206,170

%N Square array A(row,col) = A255545(row,col+1) - A255545(row,col): the first differences of each row of Lucky-Unlucky array.

%C The array A(row,col) is read by downwards antidiagonals as A(1,1), A(1,2), A(2,1), A(1,3), A(2,2), A(3,1), ...

%H Antti Karttunen, <a href="/A257255/b257255.txt">Table of n, a(n) for n = 1..10440; the first 144 antidiagonals of the array</a>

%F A(row,col) = A255545(row,col+1) - A255545(row,col).

%e The top left corner of the array:

%e 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2

%e 2, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6

%e 12, 20, 22, 20, 22, 20, 22, 20, 22, 20, 22, 20, 22, 20, 22

%e 18, 30, 34, 30, 32, 30, 34, 30, 32, 30, 34, 30, 32, 30, 34

%e 32, 52, 50, 52, 54, 48, 50, 52, 50, 54, 48, 54, 52, 48, 54

%e 40, 62, 64, 62, 72, 64, 62, 64, 66, 62, 64, 62, 66, 64, 62

%e 64, 92, 100, 92, 102, 96, 96, 94, 96, 96, 96, 96, 98, 94, 98

%e 84, 116, 120, 120, 124, 116, 124, 116, 118, 122, 120, 118, 126, 120, 120

%e 108, 156, 152, 156, 162, 148, 162, 152, 150, 160, 152, 154, 156, 156, 158

%e 124, 168, 168, 174, 168, 164, 178, 170, 166, 174, 174, 168, 176, 162, 168

%e 138, 206, 192, 198, 198, 190, 200, 202, 192, 200, 190, 198, 200, 192, 208

%e 170, 232, 236, 238, 230, 244, 230, 240, 226, 242, 238, 234, 230, 246, 222

%e 206, 270, 274, 278, 268, 272, 280, 278, 268, 276, 276, 282, 266, 270, 286

%e 214, 284, 300, 286, 302, 288, 292, 288, 290, 294, 292, 290, 298, 284, 300

%e 274, 366, 356, 390, 358, 372, 354, 374, 378, 360, 360, 376, 366, 372, 366

%e 296, 384, 418, 392, 400, 396, 398, 390, 396, 402, 394, 402, 398, 400, 392

%e ...

%o (Scheme)

%o (define (A257255 n) (A257255bi (A002260 n) (A004736 n)))

%o (define (A257255bi row col) (- (A255545bi row (+ 1 col)) (A255545bi row col))) ;; Code for A255545bi given in A255545.

%Y Column 1: A257256.

%Y Cf. A255545.

%Y Cf. also arrays A257251 and A257257.

%K nonn,tabl

%O 1,2

%A _Antti Karttunen_, Apr 19 2015