OFFSET
1,3
COMMENTS
Prime factors totaled with multiplicity. - Harvey P. Dale, Jun 22 2025
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
Take the number 287. Find the floor of its square root: sqrt(287)=16.941074... it's 16. Now get the factors of 287 = 7*41. Subtract the first prime factor from the floor of the square root: 7-16 = -9. Now subtract the second prime factor from the floor of the square root: 41-16 = 25. Add those values together: -9+25 = 16. It's the same as the floor of the square root. But it doesn't always work out that way.
MATHEMATICA
Join[{0}, Table[Total[Times@@@FactorInteger[n]]-Floor[Sqrt[n]]PrimeOmega[n], {n, 2, 80}]] (* Harvey P. Dale, Jun 22 2025 *)
CROSSREFS
KEYWORD
easy,sign
AUTHOR
Jason Earls, Sep 23 2010
STATUS
approved
