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.

A130130 a(0)=0, a(1)=1, a(n)=2 for n >= 2.

This page as a plain text file.
%I A130130 #61 Feb 16 2025 08:33:06
%S A130130 0,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
%T A130130 2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
%U A130130 2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2
%N A130130 a(0)=0, a(1)=1, a(n)=2 for n >= 2.
%C A130130 a(n) is also total number of positive integers below 10^(n+1) requiring 9 positive cubes in their representation as sum of cubes (cf. Dickson, 1939).
%C A130130 A061439(n) + A181375(n) + A181377(n) + A181379(n) + A181381(n) + A181400(n) + A181402(n) + A181404(n) + a(n) = A002283(n).
%C A130130 a(n) = number of obvious divisors of n. The obvious divisors of n are the numbers 1 and n. - _Jaroslav Krizek_, Mar 02 2009
%C A130130 Number of colors needed to paint n adjacent segments on a line. - _Jaume Oliver Lafont_, Mar 20 2009
%C A130130 a(n) = ceiling(n-th nonprimes/n) = ceiling(A018252(n)/A000027(n)) for n >= 1. Numerators of (A018252(n)/A000027(n)) in A171529(n), denominators of (A018252(n)/A000027(n)) in A171530(n). a(n) = A171624(n) + 1 for n >= 5. - _Jaroslav Krizek_, Dec 13 2009
%C A130130 a(n) is also the continued fraction for sqrt(1/2). - _Enrique Pérez Herrero_, Jul 12 2010
%C A130130 For n >= 1, a(n) = minimal number of divisors of any n-digit number. See A066150 for maximal number of divisors of any n-digit number. - _Jaroslav Krizek_, Jul 18 2010
%C A130130 Central terms in the triangle A051010. - _Reinhard Zumkeller_, Jun 27 2013
%C A130130 Decimal expansion of 11/900. - _Elmo R. Oliveira_, May 05 2024
%H A130130 Leonard Eugene Dickson,  <a href="http://projecteuclid.org/euclid.bams/1183502007">All integers except 23 and 239 are sums of eight cubes</a>, Bulletin of the American Mathematical Society 45 (1939), p. 588-591.
%H A130130 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/WaringsProblem.html">Waring's Problem</a>.
%H A130130 <a href="/index/Rec#order_01">Index entries for linear recurrences with constant coefficients</a>, signature (1).
%F A130130 G.f.: x*(1+x)/(1-x) = x*(1-x^2)/(1-x)^2. - _Jaume Oliver Lafont_, Mar 20 2009
%F A130130 a(n) = A000005(n) - A070824(n) for n >= 1.
%F A130130 E.g.f.: 2*exp(x) - x - 2. - _Stefano Spezia_, May 19 2024
%t A130130 A130130[0]:=0; A130130[1]:=1; A130130[n_]:=2; (* _Enrique Pérez Herrero_, Jul 12 2010 *)
%t A130130 A130130[n_]:=ContinuedFraction[Sqrt[1/2],n+1][[n+1]] (* _Enrique Pérez Herrero_, Jul 12 2010 *)
%t A130130 Join[{0, 1},LinearRecurrence[{1},{2},96]] (* _Ray Chandler_, Sep 23 2015 *)
%t A130130 PadRight[{0,1},120,{2}] (* _Harvey P. Dale_, Sep 15 2022 *)
%o A130130 (PARI) a(n)=min(n,2) \\ _Charles R Greathouse IV_, Jun 01 2011
%o A130130 (Haskell)
%o A130130 a130130 = min 2
%o A130130 a130130_list = 0 : 1 : repeat 2  -- _Reinhard Zumkeller_, Jun 27 2013
%Y A130130 Cf. A000005, A000027, A002283, A018252, A051010, A061439, A066150, A070824, A158411, A171529, A171530, A171624, A181375, A181377, A181379, A181381, A181400, A181402, A181404.
%K A130130 nonn,easy
%O A130130 0,3
%A A130130 _Paul Curtz_, Aug 01 2007