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.

A134871 a(1) = 1, a(n) = tau(n) + n - 2 for n > 1.

This page as a plain text file.
%I A134871 #11 Apr 10 2025 23:23:37
%S A134871 1,2,3,5,5,8,7,10,10,12,11,16,13,16,17,19,17,22,19,24,23,24,23,30,26,
%T A134871 28,29,32,29,36,31,36,35,36,37,43,37,40,41,46,41,48,43,48,49,48,47,56,
%U A134871 50,54,53,56,53,60,57,62,59,60,59,70,61,64,67,69,67,72,67
%N A134871 a(1) = 1, a(n) = tau(n) + n - 2 for n > 1.
%H A134871 Andrew Howroyd, <a href="/A134871/b134871.txt">Table of n, a(n) for n = 1..1000</a>
%e A134871 a(4) = 5 = sum of row 4 terms of triangle A134870: (1 + 2 + 1 + 1).
%t A134871 a[1]=1;a[n_]:=DivisorSigma[0,n]+n-2;Array[a,67] (* _James C. McMahon_, Apr 10 2025 *)
%o A134871 (PARI) a(n)={numdiv(n) + n - 1 - (n>1)} \\ _Andrew Howroyd_, Aug 10 2018
%Y A134871 Row sums of A134870.
%Y A134871 Cf. A000005 (tau), A071324, A051731.
%K A134871 nonn
%O A134871 1,2
%A A134871 _Gary W. Adamson_, Nov 14 2007
%E A134871 Name changed, a(12) corrected and a(15)-a(67) from _Andrew Howroyd_, Aug 10 2018