The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A072403 Numerator of the Reingold-Tarjan sequence, denominator=A072404. 2
1, 2, 5, 4, 11, 10, 1, 8, 23, 22, 7, 20, 19, 2, 17, 16, 47, 46, 5, 44, 43, 14, 41, 40, 13, 38, 37, 4, 35, 34, 11, 32, 95, 94, 31, 92, 91, 10, 89, 88, 29, 86, 85, 28, 83, 82, 1, 80, 79, 26, 77, 76, 25, 74, 73, 8, 71, 70, 23, 68, 67, 22, 65, 64, 191, 190, 7 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
The Reingold-Tarjan sequence is based on the following function defined on even positive integers and range of the rational numbers:
f(2*n) = if n is even then 2*f(n)/3 else (f(n+1)+f(n-1))/3 for n>1, f(2*1)=1.
f(2*n) = a(n)/A072404(n) for n>1, a(1)=1 and A072404(1)=1.
LINKS
J.-P. Allouche and J. Shallit, The ring of k-regular sequences, Theoretical Computer Sci., 98 (1992), 163-197; preprint. See Example 33.
E. M. Reingold and R. E. Tarjan, On a greedy heuristic for complete matching, SIAM J. Computing 10 (1981), 676-681; Semantic Scholar.
FORMULA
a(n) / A072404(n) = 1 - Sum_{k=1..n} (1 / A000244(A029837(k)). - Reinhard Zumkeller, Jan 01 2013
PROG
(Haskell)
import Data.Ratio ((%), denominator)
a072404 n = a072404_list !! (n-1)
a072404_list = map denominator $
scanl1 (-) $ map ((1 %) . a000244) $ a029837_list
-- Reinhard Zumkeller, Jan 01 2013
CROSSREFS
Cf. A000244, A029837, A072404 (denominators).
Sequence in context: A100710 A069913 A326002 * A010078 A074639 A319525
KEYWORD
nonn,frac
AUTHOR
Reinhard Zumkeller, Jun 16 2002
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 June 10 23:22 EDT 2024. Contains 373280 sequences. (Running on oeis4.)