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.

A069829 a(n) = PS(n)(2n), where PS is described in A057032.

Original entry on oeis.org

2, 5, 9, 11, 13, 19, 17, 23, 31, 26, 25, 40, 29, 47, 58, 51, 37, 69, 41, 56, 71, 67, 49, 82, 70, 73, 92, 95, 61, 123, 65, 105, 118, 94, 112, 148, 77, 107, 134, 116, 85, 143, 89, 122, 177, 127, 97, 166, 130, 133, 175, 162, 109, 211, 159, 188, 190, 154, 121, 248, 125
Offset: 1

Views

Author

David Wasserman, Apr 22 2002

Keywords

Comments

a(n) = PS(n + c)(2n + c) for any positive integer c. Every positive integer occurs exactly once in either this sequence or in A057032.

Crossrefs

Cf. A057032.

Programs

  • Maple
    A069829 := proc(n) local N, k; N := n;
    for k from n by -1 to 1 do
        if irem(N, k) = 0 then
            if irem(N, k)::odd then
                N := N - k;
            else
                N := N + k;
            fi;
        fi;
    od;
    N end:
    seq(A069829(n), n = 1..61); # Peter Luschny, Sep 14 2019