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!)
A174927 Periodic sequence: Repeat 1, 64. 3
1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
Interleaving of A000012 and 2*A010871.
Also continued fraction expansion of (4+sqrt(17))/8.
First differences of A174928.
LINKS
FORMULA
a(n) = (65-63*(-1)^n)/2.
a(n) = a(n-2) for n > 1; a(0) = 0, a(1) = 64.
a(n) = -a(n-1)+65 for n > 0; a(0) = 1.
a(n) = ((n+1) mod 2)+64*(n mod 2).
G.f.: (1+64*x)/((1-x)*(1+x)).
MATHEMATICA
PadRight[{}, 100, {1, 64}] (* Harvey P. Dale, Jun 16 2013 *)
PROG
(Magma) &cat[ [1, 64]: n in [0..41] ];
[ (65-63*(-1)^n)/2: n in [0..83] ];
CROSSREFS
Cf. A000012 (all 1's sequence), A010871 (all 32's sequence), A010689 (repeat 1, 8), A174930 (decimal expansion of (4+sqrt(17))/8), A174928.
Sequence in context: A221761 A085339 A203262 * A303329 A301911 A302155
KEYWORD
cofr,easy,nonn
AUTHOR
Klaus Brockhaus, Apr 02 2010
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 23 01:19 EDT 2024. Contains 371906 sequences. (Running on oeis4.)