[go: up one dir, main page]

login
Revision History for A170749 (Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing entries 1-10 | older changes
Expansion of g.f.: (1+x)/(1-29*x).
(history; published version)
#28 by Charles R Greathouse IV at Thu Sep 08 08:45:49 EDT 2022
PROG

(MAGMAMagma) k:=30; [1] cat [k*(k-1)^(n-1): n in [1..25]]; // G. C. Greubel, Sep 25 2019

Discussion
Thu Sep 08
08:45
OEIS Server: https://oeis.org/edit/global/2944
#27 by Charles R Greathouse IV at Thu Jul 22 10:29:55 EDT 2021
STATUS

editing

approved

#26 by Charles R Greathouse IV at Thu Jul 22 10:29:52 EDT 2021
KEYWORD

nonn,easy

STATUS

approved

editing

#25 by Harvey P. Dale at Thu Aug 27 19:17:29 EDT 2020
STATUS

editing

approved

#24 by Harvey P. Dale at Thu Aug 27 19:17:25 EDT 2020
MATHEMATICA

Join[{1}, NestList[29#&, 30, 20]] (* Harvey P. Dale, Aug 27 2020 *)

STATUS

approved

editing

#23 by Susanna Cuyler at Thu Sep 26 03:44:18 EDT 2019
STATUS

proposed

approved

#22 by Michel Marcus at Thu Sep 26 01:21:29 EDT 2019
STATUS

editing

proposed

#21 by Michel Marcus at Thu Sep 26 01:21:26 EDT 2019
CROSSREFS
STATUS

proposed

editing

#20 by G. C. Greubel at Wed Sep 25 21:38:38 EDT 2019
STATUS

editing

proposed

#19 by G. C. Greubel at Wed Sep 25 21:37:31 EDT 2019
NAME

GExpansion of g.f.: (1+x)/(1-29*x).

FORMULA

a(n) = Sum_{k=0..n} A097805(n,k)*(-1)^(n-k)*30^k. [_- _Philippe Deléham_, Dec 04 2009]

a(0) = 1; for n > 0, a(n) = 30*29^(n-1). [_- _Vincenzo Librandi_, Dec 05 2009]

E.g.f.: (30*exp(29*x) -1)/29. - G. C. Greubel, Sep 25 2019

MAPLE

k:=30; seq(`if`(n=0, 1, k*(k-1)^(n-1)), n = 0..25); # G. C. Greubel, Sep 25 2019

MATHEMATICA

With[{k=30}, Table[If[n==0, 1, k*(k-1)^(n-1)], {n, 0, 25}]] (* G. C. Greubel, Sep 25 2019 *)

PROG

(Python) for i in range(100131):print(i, 30*29**(i-1) if i>0 else 1) # Kenny Lau, Aug 03 2017

(PARI) vector(26, n, k=30; if(n==1, 1, k*(k-1)^(n-2))) \\ G. C. Greubel, Sep 25 2019

(MAGMA) k:=30; [1] cat [k*(k-1)^(n-1): n in [1..25]]; // G. C. Greubel, Sep 25 2019

(Sage) k=30; [1]+[k*(k-1)^(n-1) for n in (1..25)] # G. C. Greubel, Sep 25 2019

(GAP) k:=30;; Concatenation([1], List([1..25], n-> k*(k-1)^(n-1) )); # G. C. Greubel, Sep 25 2019

CROSSREFS

Cf. A003945.

STATUS

approved

editing