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.

A034513 a(n) = 1^n + 3^n + 9^n.

This page as a plain text file.
%I A034513 #29 May 10 2020 13:44:38
%S A034513 3,13,91,757,6643,59293,532171,4785157,43053283,387440173,3486843451,
%T A034513 31381236757,282430067923,2541867422653,22876797237931,
%U A034513 205891146443557,1853020231898563,16677181828806733,150094635684419611
%N A034513 a(n) = 1^n + 3^n + 9^n.
%C A034513 Also the sum of n-th powers of the divisors of 9.
%H A034513 T. D. Noe, <a href="/A034513/b034513.txt">Table of n, a(n) for n = 0..200</a>
%H A034513 <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (13,-39,27).
%F A034513 G.f.: 1/(1-x)+1/(1-3*x)+1/(1-9*x). E.g.f.: e^x+e^(3*x)+e^(9*x). - _Mohammad K. Azarian_, Dec 26 2008
%F A034513 a(n) = 13*a(n-1) - 39*a(n-2) + 27*a(n-3), a(0)=3, a(1)=13, a(2)=91. - _Harvey P. Dale_, Apr 13 2012
%t A034513 Table[1^n + 3^n + 9^n, {n, 0, 20}]
%t A034513 LinearRecurrence[{13,-39,27},{3,13,91},20] (* _Harvey P. Dale_, Apr 13 2012 *)
%o A034513 (Sage) [sigma(9,n)for n in range(0,19)] # _Zerinvary Lajos_, Jun 04 2009
%o A034513 (PARI) a(n)=1+3^n+9^n \\ _Charles R Greathouse IV_, Jun 10 2011
%Y A034513 Cf. A001550, A001576, A001579, A074501-A074580.
%K A034513 easy,nonn
%O A034513 0,1
%A A034513 _N. J. A. Sloane_