OFFSET
1,5
COMMENTS
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..20000
PROG
(PARI)
A006368(n) = ((3*n)+(n%2))\(2+((n%2)*2));
A006369(n) = if(!(n%3), (2/3)*n, (1/3)*if(1==(n%3), ((4*n)-1), ((4*n)+1)));
memoA349351 = Map();
CROSSREFS
KEYWORD
sign
AUTHOR
Antti Karttunen, Nov 17 2021
STATUS
approved