The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A141726 Sawtooth with period length 9: repeat 8, 7, 6, 5, 4, 3, 2, 1, 0. 3
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, 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, 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 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Continued fraction expansion of (23342+5*sqrt(44403565))/6961.
Decimal expansion of 973936900/111111111.
LINKS
FORMULA
a(n) = a(n-9).
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)).
MATHEMATICA
PadRight[{}, 120, Range[8, 0, -1]] (* Harvey P. Dale, Dec 23 2020 *)
PROG
(Python)
def A141726(n): return (0, 8, 7, 6, 5, 4, 3, 2, 1)[n%9] # Chai Wah Wu, Jan 10 2023
CROSSREFS
Cf. A010878.
Sequence in context: A138472 A022964 A023450 * A307339 A031310 A161813
KEYWORD
nonn,easy
AUTHOR
Paul Curtz, Sep 13 2008
EXTENSIONS
Index in c-sequence corrected by R. J. Mathar, Sep 11 2009
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 13 13:48 EDT 2024. Contains 372519 sequences. (Running on oeis4.)