cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-2 of 2 results.

A218722 a(n) = (19^n-1)/18.

Original entry on oeis.org

0, 1, 20, 381, 7240, 137561, 2613660, 49659541, 943531280, 17927094321, 340614792100, 6471681049901, 122961939948120, 2336276859014281, 44389260321271340, 843395946104155461, 16024522975978953760, 304465936543600121441
Offset: 0

Views

Author

M. F. Hasler, Nov 04 2012

Keywords

Comments

Partial sums of powers of 19 (A001029); q-integers for q=19: diagonal k=1 in triangle A022183.
Partial sums are in A014903. Also, the sequence is related to A014936 by A014936(n) = n*a(n)-sum(a(i), i=0..n-1) for n>0. - Bruno Berselli, Nov 06 2012

Crossrefs

Programs

Formula

a(n) = floor(19^n/18).
G.f.: x/((1-x)*(1-19*x)). - Bruno Berselli, Nov 06 2012
a(n) = 20*a(n-1) - 19*a(n-2). - Vincenzo Librandi, Nov 07 2012
E.g.f.: exp(10*x)*sinh(9*x)/9. - Stefano Spezia, Mar 11 2023

A014869 Numbers k that divide s(k), where s(1)=1, s(j)=19*s(j-1)+j.

Original entry on oeis.org

1, 3, 9, 19, 27, 57, 81, 171, 243, 381, 513, 729, 1143, 1539, 2187, 3429, 4617, 4707, 6561, 7239, 10287, 13053, 13149, 13851, 14121, 19683, 21717, 30861, 39159, 39447, 41553, 42363, 48387, 59049, 65151, 89433, 92583, 117477, 118341, 124659, 127089, 145161, 177147
Offset: 1

Views

Author

Keywords

Crossrefs

s(n) = A014903(n).

Programs

  • Mathematica
    nxt[{n_,a_}]:={n+1,19a+n+1}; Transpose[Select[NestList[nxt,{1,1},70000], Divisible[Last[#],First[#]]&]][[1]] (* Harvey P. Dale, Jan 21 2015 *)
  • PARI
    lista(nn) = my(s); for(k=1, nn, s=19*s+k; if(s%k==0, print1(k, ", "))); \\ Jinyuan Wang, Aug 08 2021

Extensions

More terms from Jinyuan Wang, Aug 08 2021
Showing 1-2 of 2 results.