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!)
A198851 a(n) = 3*8^n-1. 1
2, 23, 191, 1535, 12287, 98303, 786431, 6291455, 50331647, 402653183, 3221225471, 25769803775, 206158430207, 1649267441663, 13194139533311, 105553116266495, 844424930131967, 6755399441055743, 54043195528445951 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
FORMULA
a(n) = 8*a(n-1)+7. a(n) = 9*a(n-1)-8*a(n-2) for n > 1.
G.f.: (5*x+2)/(8*x^2-9*x+1) [Harvey P. Dale, Dec 07 2011]
MATHEMATICA
3*8^Range[0, 30]-1 (* or *) LinearRecurrence[{9, -8}, {2, 23}, 30] (* Harvey P. Dale, Dec 07 2011 *)
PROG
(Magma) [3*8^n-1: n in [0..30]]
CROSSREFS
Sequence in context: A130547 A352355 A200846 * A173341 A118756 A133955
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Oct 31 2011
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 April 25 16:45 EDT 2024. Contains 371989 sequences. (Running on oeis4.)