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!)
A170757 Expansion of g.f.: (1+x)/(1-37*x). 50
1, 38, 1406, 52022, 1924814, 71218118, 2635070366, 97497603542, 3607411331054, 133474219248998, 4938546112212926, 182726206151878262, 6760869627619495694, 250152176221921340678, 9255630520211089605086, 342458329247810315388182 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
a(n) = Sum_{k=0..n} A097805(n,k)*(-1)^(n-k)*38^k. - Philippe Deléham, Dec 04 2009
a(0) = 1; for n>0, a(n) = 38*37^(n-1). - Vincenzo Librandi, Dec 05 2009
E.g.f.: (1/37)*(38*exp(37*x) - 1). - Stefano Spezia, Oct 09 2019
MAPLE
k:=38; seq(`if`(n=0, 1, k*(k-1)^(n-1)), n = 0..25); # G. C. Greubel, Oct 09 2019
MATHEMATICA
With[{k = 38}, Table[If[n==0, 1, k*(k-1)^(n-1)], {n, 0, 25}]] (* G. C. Greubel, Oct 09 2019 *)
PROG
(PARI) vector(26, n, k=38; if(n==1, 1, k*(k-1)^(n-2))) \\ G. C. Greubel, Oct 09 2019
(Magma) k:=38; [1] cat [k*(k-1)^(n-1): n in [1..25]]; // G. C. Greubel, Oct 09 2019
(Sage) k=38; [1]+[k*(k-1)^(n-1) for n in (1..25)] # G. C. Greubel, Oct 09 2019
(GAP) k:=38;; Concatenation([1], List([1..25], n-> k*(k-1)^(n-1) )); # G. C. Greubel, Oct 09 2019
CROSSREFS
Cf. A003945.
Sequence in context: A170623 A170671 A170719 * A218740 A158702 A239364
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Dec 04 2009
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 24 17:51 EDT 2024. Contains 371962 sequences. (Running on oeis4.)