A223491 Largest Fermi-Dirac factor of n.
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
Offset: 1
Keywords
Links
- Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
- OEIS Wiki, "Fermi-Dirac representation" of n
Crossrefs
Programs
-
Haskell
a223491 = last . a213925_row
-
Mathematica
f[p_, e_] := p^(2^Floor[Log2[e]]); a[n_] := Max @@ f @@@ FactorInteger[n]; Array[a, 100] (* Amiram Eldar, Nov 26 2020 *)
-
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
Comments