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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A131757 Period 10: repeat 3, 3, 3, -7, 3, 3, -7, 3, 3, -7. 0
3, 3, 3, -7, 3, 3, -7, 3, 3, -7, 3, 3, 3, -7, 3, 3, -7, 3, 3, -7, 3, 3, 3, -7, 3, 3, -7, 3, 3, -7, 3, 3, 3, -7, 3, 3, -7, 3, 3, -7, 3, 3, 3, -7, 3, 3, -7, 3, 3, -7, 3, 3, 3, -7, 3, 3, -7, 3, 3, -7, 3, 3, 3, -7, 3, 3, -7, 3, 3, -7, 3, 3, 3, -7, 3, 3, -7, 3, 3, -7, 3, 3, 3, -7, 3, 3, -7, 3, 3, -7, 3, 3, 3, -7, 3, 3, -7, 3, 3, -7, 3, 3, 3, -7, 3, 3, -7, 3, 3, -7, 3 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

LINKS

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

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

FORMULA

a(n)=-(n mod 10)+[(n+1) mod 10]-[(n+3) mod 10]+[(n+4) mod 10]-[(n+6) mod 10]+[(n+7) mod 10], with n>=0. - Paolo P. Lava, Oct 08 2007

MATHEMATICA

PadRight[{}, 120, {3, 3, 3, -7, 3, 3, -7, 3, 3, -7}] (* Harvey P. Dale, Aug 07 2018 *)

PROG

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

CROSSREFS

Cf. A010705, A096915.

Sequence in context: A061021 A126608 A088195 * A214834 A291767 A135087

Adjacent sequences:  A131754 A131755 A131756 * A131758 A131759 A131760

KEYWORD

sign,easy

AUTHOR

Paul Curtz, Oct 04 2007

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 | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 21 19:08 EDT 2018. Contains 316427 sequences. (Running on oeis4.)