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!)
A010730 a(n) = (17 -3*(-1)^n)/2. 2
7, 10, 7, 10, 7, 10, 7, 10, 7, 10, 7, 10, 7, 10, 7, 10, 7, 10, 7, 10, 7, 10, 7, 10, 7, 10, 7, 10, 7, 10, 7, 10, 7, 10, 7, 10, 7, 10, 7, 10, 7, 10, 7, 10, 7, 10, 7, 10, 7, 10, 7, 10, 7, 10, 7, 10, 7, 10, 7, 10, 7, 10, 7, 10, 7, 10 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

COMMENTS

Period 2.

LINKS

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

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

FORMULA

a(n) = -3/2*(-1)^n+17/2 a(n)=10*(n mod 2)+7*[(n+1) mod 2] - Paolo P. Lava, Oct 27 2006

G.f.: ( -7-10*x ) / ( (x-1)*(1+x) ). - R. J. Mathar, Nov 21 2011

a(n) = 7 + 2^(1 - (-1)^n) - 1. - Vincenzo Librandi, Feb 28 2020

MATHEMATICA

PadRight[{}, 120, {7, 10}] (* Harvey P. Dale, Jul 08 2019 *)

PROG

(MAGMA) &cat [[7, 10]^^50]; // Vincenzo Librandi, Feb 28 2020

CROSSREFS

Sequence in context: A180732 A266551 A070405 * A225694 A247191 A317336

Adjacent sequences:  A010727 A010728 A010729 * A010731 A010732 A010733

KEYWORD

nonn

AUTHOR

N. J. A. Sloane.

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 August 19 20:18 EDT 2022. Contains 356229 sequences. (Running on oeis4.)