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!)
A004663 Powers of 3 written in base 9. 5
1, 3, 10, 30, 100, 300, 1000, 3000, 10000, 30000, 100000, 300000, 1000000, 3000000, 10000000, 30000000, 100000000, 300000000, 1000000000, 3000000000, 10000000000, 30000000000, 100000000000, 300000000000, 1000000000000, 3000000000000, 10000000000000, 30000000000000 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
From Paul Barry, Jul 14 2004: (Start)
G.f.: (1 + 3*x)/(1 - 10*x^2);
a(n) = 2*a(n-1) + 3*a(n-2) + 10^floor((n-2)/2);
a(n) = Sum_{k=0..floor(n/2)} binomial(floor(n/2), k)*3^(n-2*k). (End)
a(n) = 3*a(n-1) + ((1 + (-1)^n)/2)*a(n-2) with a(0)=1, a(1)=3. - Taras Goy, Mar 20 2019
E.g.f.: cosh(sqrt(10)*x) + 3*sinh(sqrt(10)*x)/sqrt(10). - Stefano Spezia, Mar 31 2023
MAPLE
seq(op([10^i, 3*10^i]), i=0..100); # Robert Israel, Jun 25 2018
MATHEMATICA
Table[FromDigits[IntegerDigits[3^n, 9]], {n, 0, 100}] (* G. C. Greubel, Oct 12 2018 *)
PROG
(PARI) a(n)=3^bittest(n, 0)*10^(n\2) \\ M. F. Hasler, Jun 25 2018
CROSSREFS
Cf. A000244, A004656, A004658, A004659, ... : powers of 3 in base 10, 2, 4, 5, ...
Cf. A000079, A004642, ..., A004655: powers of 2 written in base 10, 2, 3, ..., 16.
Sequence in context: A003441 A136841 A136846 * A136853 A361911 A215287
KEYWORD
nonn,base,easy
AUTHOR
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 18 06:24 EDT 2024. Contains 371769 sequences. (Running on oeis4.)