cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A081827 Successive differences of Hofstadter Q-sequence.

Original entry on oeis.org

0, 1, 1, 0, 1, 1, 0, 1, 0, 0, 2, 0, 0, 2, -1, 1, 1, 0, 1, 0, 0, 0, 4, -2, 0, 2, 0, 0, 0, 4, -3, 0, 3, 1, -2, 1, 2, -1, 1, 1, 0, 1, 0, 0, 0, 0, 8, -8, 1, 5, -2, -2, 4, 0, -2, 4, -2, 2, 0, 0, 0, 8, -7, -2, 7, -3, -2, 6, 1, -3, 1, 2, -1, 1, -1, 3, -2, 1, 2, 1, -1, 0, 3, -2, 1, 2, 0, -1, 2, 0, 0, 0, 0, 0, 16, -23, 11, 2, 2
Offset: 1

Views

Author

Benoit Cloitre, Apr 10 2003

Keywords

Comments

a(A081829(n))<0; a(A081828(n))=0; a(A081830(n))>0; a(A194626(n))=1. [Reinhard Zumkeller, Sep 15 2011]

Programs

  • Haskell
    a081827 n = a081827_list !! (n-1)
    a081827_list = zipWith (-) (tail a005185_list) a005185_list
    b081827 = bFile "A081827" a081827_list 1 10000 -- (0.34 secs)
    -- Reinhard Zumkeller, Sep 15 2011

Formula

a(n)=A005185(n+1)-A005185(n).