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.
%I A348335 #34 Oct 29 2021 12:33:00 %S A348335 14,1,591357 %N A348335 a(n) = smallest k such that the sum of the divisors of the n numbers from k to k+n-1 equals sigma(k+n), or -1 if no such k exists. %C A348335 a(4) > 10^9, if it exists. - _Amiram Eldar_, Oct 13 2021 %e A348335 a(1) = 14 because sigma(14) = sigma(15) = 24; a(1) = A002961(1). %e A348335 a(2) = 1 because sigma(1) + sigma(2) = 1 + 3 = 4, the same as sigma(3) = 4; a(2) = A104149(1). %e A348335 a(3) = 591357 because sigma(591357) + sigma(591358) + sigma(591359) = 866880 + 890352 + 599760 = 2356992, the same as sigma(591360) = 2356992. %t A348335 a[n_] := Module[{sig = DivisorSigma[1, Range[n]], k = n + 1}, While[(s = DivisorSigma[1, k]) != Plus @@ sig, sig = Join[Drop[sig, 1], {s}]; k++]; k - n]; Array[a, 3] (* _Amiram Eldar_, Oct 29 2021 *) %o A348335 (PARI) isok(m, nb) = sum(i=1, nb, sigma(m+i-1)) == sigma(m+nb); %o A348335 a(n) = my(k=1); while (!isok(k, n), k++); k; \\ _Michel Marcus_, Oct 28 2021 %Y A348335 Cf. A000203, A002961, A065900, A092403, A104149, A252922. %K A348335 nonn,bref,more %O A348335 1,1 %A A348335 _Metin Sariyar_, Oct 13 2021