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!)
A037757 Decimal expansion of a(n) is given by the first n terms of the periodic sequence with initial period 2,3,1,0. 1
2, 23, 231, 2310, 23102, 231023, 2310231, 23102310, 231023102, 2310231023, 23102310231, 231023102310, 2310231023102, 23102310231023, 231023102310231, 2310231023102310, 23102310231023102, 231023102310231023, 2310231023102310231, 23102310231023102310 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
G.f.: (2+x)*x / ((x-1)*(10*x-1)*(x^2+1)). - R. J. Mathar, Nov 21 2011
MATHEMATICA
CoefficientList[Series[(2 + x) / ((x - 1) (10 x - 1) (x^2 + 1)), {x, 0, 40}], x] (* Vincenzo Librandi, Feb 16 2018 *)
Table[FromDigits[PadRight[{}, n, {2, 3, 1, 0}]], {n, 20}] (* Harvey P. Dale, Oct 21 2018 *)
PROG
(Magma) I:=[2, 23, 231, 2310]; [n le 4 select I[n] else 11*Self(n-1)-11*Self(n-2)+11*Self(n-3)-10*Self(n-4): n in [1..30]]; // Vincenzo Librandi, Feb 16 2018
CROSSREFS
Sequence in context: A037750 A037631 A026075 * A037645 A100893 A356557
KEYWORD
nonn,base
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.)