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.

Previous Showing 11-11 of 11 results.

A210762 Triangle read by rows in which row n lists the positive integers smaller than the currently largest number in Recamán's sequence A005132 after the n-th stage, but not yet present in Recamán's sequence.

Original entry on oeis.org

2, 2, 4, 5, 4, 5, 4, 5, 4, 5, 8, 9, 10, 11, 12, 4, 5, 8, 9, 10, 11, 12, 14, 15, 16, 17, 18, 19, 4, 5, 8, 9, 10, 11, 14, 15, 16, 17, 18, 19, 4, 5, 8, 9, 10, 11, 14, 15, 16, 17, 18, 19, 4, 5, 8, 9, 10, 14, 15, 16, 17, 18, 19, 4, 5, 8, 9, 10, 14, 15, 16, 17
Offset: 2

Views

Author

Omar E. Pol, Mar 25 2012

Keywords

Comments

The number of positive integers in row n is A210612(n).

Examples

			Written as an irregular triangle:
2;
2, 4, 5;
4, 5;
4, 5;
4, 5, 8, 9, 10, 11, 12;
4, 5, 8, 9, 10, 11, 12, 14, 15, 16, 17, 18, 19;
4, 5, 8, 9, 10, 11, 14, 15, 16, 17, 18, 19;
4, 5, 8, 9, 10, 11, 14, 15, 16, 17, 18, 19;
4, 5, 8, 9, 10, 14, 15, 16, 17, 18, 19;
		

Crossrefs

Programs

  • Maple
    A210762 := proc(n)
            local L,maxa ;
            rec := [seq(A005132(j),j=0..n)] ;
            maxa := max(op(rec)) ;
            L := [] ;
            for i from 0 to maxa do
                    if not member(i,rec) then
                            L := [op(L),i] ;
                    end if;
            end do;
            if nops(L) = 0 then
                    return [0] ;
            end if;
            L ;
    end proc:
    seq(op(A210762(n)),n=1..11) ; # R. J. Mathar, Apr 01 2012
Previous Showing 11-11 of 11 results.