|
|
A223491
|
|
Largest Fermi-Dirac factor of n.
|
|
8
|
|
|
1, 2, 3, 4, 5, 3, 7, 4, 9, 5, 11, 4, 13, 7, 5, 16, 17, 9, 19, 5, 7, 11, 23, 4, 25, 13, 9, 7, 29, 5, 31, 16, 11, 17, 7, 9, 37, 19, 13, 5, 41, 7, 43, 11, 9, 23, 47, 16, 49, 25, 17, 13, 53, 9, 11, 7, 19, 29, 59, 5, 61, 31, 9, 16, 13, 11, 67, 17, 23, 7, 71, 9
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
Greatest Fermi-Dirac factor of n: Largest divisor of n of the form p^(2^k), for some prime p and k >= 0, with a(1) = 1. Thus for n > 1, the largest term of A050376 that divides n. - Antti Karttunen, Apr 13 2018
|
|
LINKS
|
|
|
FORMULA
|
(End)
|
|
MATHEMATICA
|
f[p_, e_] := p^(2^Floor[Log2[e]]); a[n_] := Max @@ f @@@ FactorInteger[n]; Array[a, 100] (* Amiram Eldar, Nov 26 2020 *)
|
|
PROG
|
(Haskell)
a223491 = last . a213925_row
(PARI)
ispow2(n) = (n && !bitand(n, n-1));
A223491(n) = if(1==n, n, fordiv(n, d, if(ispow2(isprimepower(n/d)), return(n/d)))); \\ Antti Karttunen, Apr 13 2018
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|