login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A096284
Numerator of the ratio of the preceding two terms.
0
2, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 2, 2
OFFSET
3,1
COMMENTS
The actual repeating sequence is 2,1,1/2,1/2,1,2,2,1,1/2,1/2,1,2...
FORMULA
Let a(1) = 1, a(2) = 2 then a(n) = a(n-2)/a(n-1) for n = 3, 4, 5... The sequence only posts the numerator of a(n).
PROG
(PARI) fibdiv(n) = { a = vector(1000); a[1] = 1; a[2] = 2; for(j=3, n, a[j] = a[j-1]/a[j-2]; print1(numerator(a[j])", ") ) }
CROSSREFS
Sequence in context: A037828 A030419 A155052 * A163100 A139038 A322812
KEYWORD
nonn,frac
AUTHOR
Cino Hilliard, Jun 24 2004
STATUS
approved