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!)
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
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
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 25 11:39 EDT 2024. Contains 371969 sequences. (Running on oeis4.)