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.

A032764 Take list of odd numbers, move left digit of each term to end of previous term.

Original entry on oeis.org

1, 3, 5, 7, 9, 1, 11, 31, 51, 71, 92, 12, 32, 52, 72, 93, 13, 33, 53, 73, 94, 14, 34, 54, 74, 95, 15, 35, 55, 75, 96, 16, 36, 56, 76, 97, 17, 37, 57, 77, 98, 18, 38, 58, 78, 99, 19, 39, 59, 79, 91, 11, 31, 51, 71, 91, 111, 131, 151, 171, 191, 211, 231, 251, 271, 291, 311
Offset: 0

Views

Author

Patrick De Geest, May 15 1998

Keywords

Crossrefs

Programs

  • Haskell
    a032764 n = a032764_list !! n
    a032764_list = 1 : map read (zipWith (++) vs (tail us)) :: [Integer]
       where (us,vs) = unzip $ map ((splitAt 1) . show) [1, 3 ..]
    -- Reinhard Zumkeller, Oct 10 2013