cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A274531 Irregular triangle read by rows: T(n,k) = sum of the elements of the k-th row of the absolute difference table of the divisors of n.

This page as a plain text file.
%I A274531 #13 Apr 02 2017 01:56:23
%S A274531 1,3,1,4,2,7,3,1,6,4,12,5,2,2,8,6,15,7,3,1,13,8,4,18,9,4,0,12,10,28,
%T A274531 11,5,4,3,1,14,12,24,13,6,2,24,14,8,8,31,15,7,3,1,18,16,39,17,8,10,4,
%U A274531 4,20,18,42,19,11,4,5,1,32,20,12,8,36,21,10,6,24,22,60,23,11,10,6,5,2,2,31,24,16,42,25,12,8
%N A274531 Irregular triangle read by rows: T(n,k) = sum of the elements of the k-th row of the absolute difference table of the divisors of n.
%C A274531 Row 2^k gives the first k+1 positive terms of A000225 in decreasing order, k >= 0.
%C A274531 If n is prime then row n contains only two terms: n+1 and n-1.
%C A274531 Note that this sequence is not the absolute values of A273261.
%C A274531 First differs from A273261 at a(41).
%e A274531 Triangle begins:
%e A274531 1;
%e A274531 3, 1;
%e A274531 4, 2;
%e A274531 7, 3, 1;
%e A274531 6, 4;
%e A274531 12, 5, 2, 2;
%e A274531 8, 6;
%e A274531 15, 7, 3, 1;
%e A274531 13, 8, 4;
%e A274531 18, 9, 4, 0;
%e A274531 12, 10;
%e A274531 28, 11, 5, 4, 3, 1;
%e A274531 14, 12;
%e A274531 24, 13, 6, 2;
%e A274531 24, 14, 8, 8;
%e A274531 31, 15, 7, 3, 1;
%e A274531 18, 16;
%e A274531 39, 17, 8, 10, 4, 4;
%e A274531 20, 18;
%e A274531 42, 19, 11, 4, 5, 1;
%e A274531 32, 20, 12, 8;
%e A274531 36, 21, 10, 6;
%e A274531 24, 22;
%e A274531 60, 23, 11, 10, 6, 5, 2, 2;
%e A274531 31, 24, 16;
%e A274531 42, 25, 12, 8;
%e A274531 ...
%e A274531 For n = 18 the divisors of 18 are 1, 2, 3, 6, 9, 18, and the absolute difference triangle of the divisors is
%e A274531 1, 2, 3, 6, 9, 18;
%e A274531 1, 1, 3, 3, 9;
%e A274531 0, 2, 0, 6;
%e A274531 2, 2, 6;
%e A274531 0, 4;
%e A274531 4;
%e A274531 The row sums give [39, 17, 8, 10, 4, 4] which is also the 18th row of the irregular triangle.
%t A274531 Map[Total, #, {2}] &@ Table[NestWhileList[Abs@ Differences@ # &, #, Length@ # > 1 &] &@ Divisors@ n, {n, 26}] // Flatten (* _Michael De Vlieger_, Jun 27 2016 *)
%Y A274531 Row lengths give A000005. Column 1 is A000203. Right border gives A187203. Row sums give A187215.
%Y A274531 Cf. A000225, A273104, A273261, A274532, A274533.
%K A274531 nonn,tabf
%O A274531 1,2
%A A274531 _Omar E. Pol_, Jun 27 2016