login
A021031
Decimal expansion of 1/27.
4
0, 3, 7, 0, 3, 7, 0, 3, 7, 0, 3, 7, 0, 3, 7, 0, 3, 7, 0, 3, 7, 0, 3, 7, 0, 3, 7, 0, 3, 7, 0, 3, 7, 0, 3, 7, 0, 3, 7, 0, 3, 7, 0, 3, 7, 0, 3, 7, 0, 3, 7, 0, 3, 7, 0, 3, 7, 0, 3, 7, 0, 3, 7, 0, 3, 7, 0, 3, 7, 0, 3, 7, 0, 3, 7, 0, 3, 7, 0, 3, 7, 0, 3, 7, 0, 3, 7, 0, 3, 7, 0, 3, 7, 0, 3, 7, 0, 3, 7
OFFSET
0,2
FORMULA
From Bruno Berselli, Sep 24 2010: (Start)
G.f.: x*(3+7*x)/(1-x^3).
a(n) - a(n-3) = 0 for n > 2.
a(n) = A175833(n) - 4 = 4*(n-3*floor(n/3)) - (1 - (-1)^(n-3*floor((n+1)/3)))/2.
(End)
EXAMPLE
0.037037037037037037037037037037037037037...
MATHEMATICA
RealDigits[1/27, 10, 108][[1]] (* Alonso del Arte, Feb 26 2015 *)
CROSSREFS
Sequence in context: A033920 A005600 A180873 * A291835 A197835 A197005
KEYWORD
nonn,cons,easy
AUTHOR
STATUS
approved