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!)
A218725 a(n) = (22^n-1)/21. 4
0, 1, 23, 507, 11155, 245411, 5399043, 118778947, 2613136835, 57489010371, 1264758228163, 27824681019587, 612142982430915, 13467145613480131, 296277203496562883, 6518098476924383427, 143398166492336435395 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
Partial sums of powers of 22; q-integers for q=22: Diagonal k=1 in the triangle A022186.
Partial sums are in A014907. Also, the sequence is related to A014940 by A014940(n) = n*a(n)-sum(a(i), i=0..n-1) for n>0. [Bruno Berselli, Nov 06 2012]
LINKS
FORMULA
a(n) = floor(22^n/21).
G.f.: x/((1-x)*(1-22*x)). [Bruno Berselli, Nov 06 2012]
a(n) = 23*a(n-1) - 22*a(n-2). - Vincenzo Librandi, Nov 07 2012
MATHEMATICA
LinearRecurrence[{23, -22}, {0, 1}, 30] (* Vincenzo Librandi, Nov 07 2012 *)
PROG
(PARI) A218725(n)=22^n\21
(Maxima) A218725(n):=(22^n-1)/21$ makelist(A218725(n), n, 0, 30); /* Martin Ettl, Nov 06 2012 */
(Magma) [n le 2 select n-1 else 23*Self(n-1) - 22*Self(n-2): n in [1..20]]; // Vincenzo Librandi, Nov 07 2012
CROSSREFS
Sequence in context: A170656 A170704 A170742 * A136285 A114926 A118338
KEYWORD
nonn,easy
AUTHOR
M. F. Hasler, Nov 04 2012
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 04:42 EDT 2024. Contains 371964 sequences. (Running on oeis4.)