A306613 First differences of A063990 (amicable numbers arranged in increasing order).
64, 900, 26, 1410, 304, 2096, 544, 668, 136, 4376, 112, 1429, 2310, 2701, 1120, 44604, 3908, 64, 103, 2520, 1530, 4939, 3666, 7883, 1097, 11755, 21780, 103, 784, 1003, 15660, 1849, 646, 10866, 15554, 3126, 4416, 64, 4512, 4520, 11356, 5720, 988, 77108, 28080, 10930
Offset: 1
Keywords
Examples
a(2) = amicable(3) - amicable(2) = 1184 - 284 = 900. From _Bernard Schott_, Mar 10 2019: (Start) a(1) = 284 - 220 = 64 is the difference between the larger and the smaller terms of the first amicable pair. a(4) = 2620 - 1210 = 1410 is the difference between the smaller term of the third amicable pair and the larger term of the second amicable pair. (End)
Crossrefs
Programs
-
MATLAB
clear clc A = zeros(100000,1); parfor n = 1:1:100000 f = find(rem(n, 1:floor(sqrt(n))) == 0); f = unique([1, n, f, fix(n./f)]); A(n) = sum(f) - n; end D = []; d = 1; for a = 1:1:100000 for b = 1:1:100000 if A(a) == b && A(b) == a && a~=b D(d) = a; d = d+1; end end end D difference = diff(D)
Formula
Extensions
More terms from Michel Marcus, Mar 09 2019
Comments