OFFSET
1,1
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.
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..10000
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
CROSSREFS
KEYWORD
AUTHOR
David Wasserman, Apr 22 2002
STATUS
approved