login
This site is supported by donations to The OEIS Foundation.

 

Logo

Please make a donation to keep the OEIS running. We are now in our 55th year. In the past year we added 12000 new sequences and reached 8000 citations (which often say "discovered thanks to the OEIS"). We need to raise money to hire someone to manage submissions, which would reduce the load on our editors and speed up editing.
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A037560 Base 3 digits are, in order, the first n terms of the periodic sequence with initial period 2,2,1. 0
2, 8, 25, 77, 233, 700, 2102, 6308, 18925, 56777, 170333, 511000, 1533002, 4599008, 13797025, 41391077, 124173233, 372519700, 1117559102, 3352677308, 10058031925, 30174095777, 90522287333, 271566862000, 814700586002 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Table of n, a(n) for n=1..25.

Index entries for linear recurrences with constant coefficients, signature (3,0,1,-3).

FORMULA

G.f.: x*(2+2*x+x^2) / ( (x-1)*(3*x-1)*(1+x+x^2) ). - R. J. Mathar, Apr 30 2015

MATHEMATICA

Table[FromDigits[PadRight[{}, n, {2, 2, 1}], 3], {n, 30}] (* or *) LinearRecurrence[ {3, 0, 1, -3}, {2, 8, 25, 77}, 30] (* Harvey P. Dale, Jul 08 2017 *)

CROSSREFS

Sequence in context: A119854 A176855 A309237 * A138804 A212323 A301842

Adjacent sequences:  A037557 A037558 A037559 * A037561 A037562 A037563

KEYWORD

nonn,base,easy

AUTHOR

Clark Kimberling

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 6 16:24 EST 2019. Contains 329808 sequences. (Running on oeis4.)