A strange recursive relation (Q1107556)

From MaRDI portal
scientific article
Language Label Description Also known as
English
A strange recursive relation
scientific article

    Statements

    A strange recursive relation (English)
    0 references
    0 references
    0 references
    1988
    0 references
    Let \(g(n)\) be an integer valued function defined by \(g(0)=0\) and \(g(n)=n- g(g(n-1))\) for \(n>0\). It is easy to see that \(g(n)\) is defined for each positive integer \(n\). The authors show that \(g(n)=[(n+1)\mu]\), where \(\mu =(-1+\sqrt{5})/2\) and \([\,]\) is the greatest integer function.
    0 references
    recursive relation
    0 references
    integer valued function
    0 references
    greatest integer function
    0 references
    0 references

    Identifiers