OFFSET
3,1
LINKS
Lorenzo Sauras-Altuzarra, Some properties of the factors of Fermat numbers, Art Discrete Appl. Math. (2022).
FORMULA
a(n) = n - A007814(n + 2) (due to Jinyuan Wang).
EXAMPLE
MAPLE
a:=n->n-padic:-ordp(n+2, 2):
seq(a(n), n=3..79);
PROG
(PARI) a(n) = n - valuation(n+2, 2);
vector(77, n, a(n+2)) \\ Joerg Arndt, Mar 03 2023
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Lorenzo Sauras Altuzarra, Feb 27 2023
STATUS
approved