login
A360469
Only k >= 0 such that, for every odd r > 0, A093179(n) divides the generalized Fermat number (A007117(n)^r)^(2^k) + 1.
0
3, 3, 5, 3, 7, 7, 9, 8, 11, 11, 13, 10, 15, 15, 17, 16, 19, 19, 21, 19, 23, 23, 25, 24, 27, 27, 29, 25, 31, 31, 33, 32, 35, 35, 37, 35, 39, 39, 41, 40, 43, 43, 45, 42, 47, 47, 49, 48, 51, 51, 53, 51, 55, 55, 57, 56, 59, 59, 61, 56, 63, 63, 65, 64, 67, 67, 69, 67, 71, 71, 73, 72, 75, 75, 77, 74, 79
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
A093179(5) = 641, A007117(5) = 5 and the only k >= 0 such that, for every odd r > 0, 641 divides the generalized Fermat number (5^r)^(2^k) + 1 is 5; so a(5) = 5.
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
Cf. A000215 (Fermat numbers), A007117, A007814 (dyadic valuation), A093179, A307843 (divisors of Fermat numbers).
Sequence in context: A299149 A096866 A348158 * A320045 A334481 A361679
KEYWORD
nonn,easy
AUTHOR
STATUS
approved