login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A140899 A140724(n+4). Period 10: repeat 7, 9, 5, 1, 3, 3, 1, 5, 9, 7. 0
7, 9, 5, 1, 3, 3, 1, 5, 9, 7, 7, 9, 5, 1, 3, 3, 1, 5, 9, 7, 7, 9, 5, 1, 3, 3, 1, 5, 9, 7, 7, 9, 5, 1, 3, 3, 1, 5, 9, 7 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

COMMENTS

A140724= period 10: repeat 1, 5, 9, 7, 7, 9, 5, 1, 3, 3 . a(n) is one of its two palindromic decuplets.

LINKS

Table of n, a(n) for n=0..39.

Index entries for linear recurrences with constant coefficients, signature (2,-2,2,-2,1).

FORMULA

Note a(2n)+a(2n+1)= period 5: repeat 16, 6, 6, 6, 16 .

a(n)=(1/45)*{5*(n mod 10)+14*[(n+1) mod 10]-13*[(n+2) mod 10]-13*[(n+3) mod 10]+14*[(n+4) mod 10]+5*[(n+5) mod 10]-4*[(n+6) mod 10]+23*[(n+7) mod 10]+23*[(n+8) mod 10]-4*[(n+9) mod 10]}, with n>=0 - Paolo P. Lava, Aug 04 2008

PROG

(PARI) a(n)=[7, 9, 5, 1, 3, 3, 1, 5, 9, 7][n%10+1] \\ Charles R Greathouse IV, Jul 13 2016

CROSSREFS

Sequence in context: A118270 A179292 A198756 * A201925 A021561 A216104

Adjacent sequences:  A140896 A140897 A140898 * A140900 A140901 A140902

KEYWORD

nonn,easy

AUTHOR

Paul Curtz, Jul 24 2008

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 13 18:57 EDT 2019. Contains 327981 sequences. (Running on oeis4.)