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.
%I A170758 #23 Aug 07 2025 16:22:57 %S A170758 1,39,1482,56316,2140008,81320304,3090171552,117426518976, %T A170758 4462207721088,169563893401344,6443427949251072,244850262071540736, %U A170758 9304309958718547968,353563778431304822784,13435423580389583265792,510546096054804164100096 %N A170758 Expansion of g.f.: (1+x)/(1-38*x). %H A170758 Vincenzo Librandi, <a href="/A170758/b170758.txt">Table of n, a(n) for n = 0..200</a> %H A170758 <a href="/index/Rec#order_01">Index entries for linear recurrences with constant coefficients</a>, signature (38). %F A170758 a(n) = Sum_{k=0..n} A097805(n,k)*(-1)^(n-k)*39^k. - _Philippe Deléham_, Dec 04 2009 %F A170758 a(0)=1; for n>0, a(n) = 39*38^(n-1). - _Vincenzo Librandi_, Dec 05 2009 %F A170758 E.g.f.: (39*exp(38*x) - 1)/38. - _G. C. Greubel_, Oct 09 2019 %p A170758 k:=39; seq(`if`(n=0, 1, k*(k-1)^(n-1)), n = 0..25); # _G. C. Greubel_, Oct 09 2019 %t A170758 CoefficientList[Series[(1+x)/(1-38x), {x, 0, 20}], x] (* _Vincenzo Librandi_, Apr 28 2014 *) %t A170758 With[{k = 39}, Table[If[n==0, 1, k*(k-1)^(n-1)], {n, 0, 25}]] (* _G. C. Greubel_, Oct 09 2019 *) %t A170758 Join[{1},NestList[38#&,39,20]] (* _Harvey P. Dale_, Aug 07 2025 *) %o A170758 (Magma) [1] cat [39*38^(n-1): n in [1..20]]; // _Vincenzo Librandi_, Apr 28 2014 %o A170758 (PARI) vector(26, n, k=39; if(n==1, 1, k*(k-1)^(n-2))) \\ _G. C. Greubel_, Oct 09 2019 %o A170758 (Sage) k=39; [1]+[k*(k-1)^(n-1) for n in (1..25)] # _G. C. Greubel_, Oct 09 2019 %o A170758 (GAP) k:=39;; Concatenation([1], List([1..25], n-> k*(k-1)^(n-1) )); # _G. C. Greubel_, Oct 09 2019 %Y A170758 Cf. A003945. %K A170758 nonn,easy %O A170758 0,2 %A A170758 _N. J. A. Sloane_, Dec 04 2009