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.

A048951 (2,4) Ulam sequence.

Original entry on oeis.org

2, 4, 6, 8, 12, 16, 22, 26, 32, 36, 52, 56, 72, 76, 94, 96, 106, 114, 124, 138, 144, 154, 164, 174, 194, 198, 204, 212, 228, 252, 262, 276, 290, 296, 310, 350, 354, 360, 364, 378, 394, 412, 418, 438, 442, 472, 476, 482, 486, 506, 516, 520, 546, 564, 618, 632
Offset: 1

Views

Author

Keywords

Comments

This sequence is 2*A002858, since in general U(k*m, k*n) = k * U(m, n), where U(m, n) is the (m, n)-Ulam sequence. - Enrique Navarrete, May 05 2017

Crossrefs

Cf. A002858.

Programs

  • Haskell
    a048951 n = a048951_list !! (n-1)
    a048951_list = 2 : 4 : ulam 2 4 a048951_list
    -- Function ulam as defined in A002858.
    -- Reinhard Zumkeller, Nov 03 2011