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.

A141726 Sawtooth with period length 9: repeat 8, 7, 6, 5, 4, 3, 2, 1, 0.

This page as a plain text file.
%I A141726 #19 Jan 11 2023 06:42:48
%S A141726 8,7,6,5,4,3,2,1,0,8,7,6,5,4,3,2,1,0,8,7,6,5,4,3,2,1,0,8,7,6,5,4,3,2,
%T A141726 1,0,8,7,6,5,4,3,2,1,0,8,7,6,5,4,3,2,1,0,8,7,6,5,4,3,2,1,0,8,7,6,5,4,
%U A141726 3,2,1,0,8,7,6,5,4,3,2,1,0,8,7,6,5,4,3,2,1,0,8,7,6,5,4,3,2,1,0,8,7,6,5,4,3
%N A141726 Sawtooth with period length 9: repeat 8, 7, 6, 5, 4, 3, 2, 1, 0.
%C A141726 Continued fraction expansion of (23342+5*sqrt(44403565))/6961.
%C A141726 Decimal expansion of 973936900/111111111.
%F A141726 a(n) = a(n-9).
%F A141726 G.f.: -x*(8+7*x+6*x^2+5*x^3+4*x^4+3*x^5+2*x^6+x^7)/((x-1)*(1+x+x^2)*(x^6+x^3+1)).
%t A141726 PadRight[{},120,Range[8,0,-1]] (* _Harvey P. Dale_, Dec 23 2020 *)
%o A141726 (Python)
%o A141726 def A141726(n): return (0, 8, 7, 6, 5, 4, 3, 2, 1)[n%9] # _Chai Wah Wu_, Jan 10 2023
%Y A141726 Cf. A010878.
%K A141726 nonn,easy
%O A141726 1,1
%A A141726 _Paul Curtz_, Sep 13 2008
%E A141726 Index in c-sequence corrected by _R. J. Mathar_, Sep 11 2009