login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A186170 Number of prime factors times n minus sum of divisors. 1
-1, -1, -1, 1, -1, 0, -1, 9, 5, 2, -1, 8, -1, 4, 6, 33, -1, 15, -1, 18, 10, 8, -1, 36, 19, 10, 41, 28, -1, 18, -1, 97, 18, 14, 22, 53, -1, 16, 22, 70, -1, 30, -1, 48, 57, 20, -1, 116, 41, 57, 30, 58, -1, 96, 38, 104, 34, 26, -1, 72, -1, 28, 85, 257, 46, 54, -1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,8
COMMENTS
Places n where a(n) is prime are: 9, 10, 25, 27, 32, 36, 49, 64,...
Places n where a(n^2) is prime are: 3, 5, 6, 7, 8,...
Number of prime factors counted with multiplicity. - Harvey P. Dale, Jan 23 2019
LINKS
EXAMPLE
a(8) = (number of prime factors)*8 - (sum of divisors) = 3*8 - (1+2+4+8) = 24 - 15 = 9.
MAPLE
A186170 := proc(n)
n*numtheory[bigomega](n)-numtheory[sigma](n) ;
end proc: # R. J. Mathar, Jun 15 2013
MATHEMATICA
Table[PrimeOmega[n]n-DivisorSigma[1, n], {n, 70}] (* Harvey P. Dale, Jan 23 2019 *)
PROG
(PARI) a(n)=n*bigomega(n)-sigma(n) \\ Charles R Greathouse IV, Mar 17 2014
CROSSREFS
Sequence in context: A154483 A198560 A078887 * A020827 A154971 A021109
KEYWORD
sign,easy
AUTHOR
Irina Gerasimova, Jun 14 2013
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 11:21 EDT 2024. Contains 371936 sequences. (Running on oeis4.)