cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A198391 Numbers m such that Sum_{i=1..k} (1-1/p_i) + Product_{i=1..k} (1-1/p_i) is an integer, where p_i are the k prime factors of m (with multiplicity).

Original entry on oeis.org

2, 15, 20, 272, 476, 19024, 47425, 65792, 125172, 216900, 539280, 1222976, 1372736, 2770496, 3494336, 5321808, 5844528, 6177168, 7032528, 8885808, 20670768, 60727876, 69081344, 82724356, 95579136, 544382208, 907440192, 1657497600, 4295032832, 5048574976
Offset: 1

Views

Author

Paolo P. Lava, Oct 24 2011

Keywords

Comments

The numbers of the sequence are solutions of the differential equation m’=(k-a)*m+b, which can be written as A003415(m)=(k-a)*m+A003958(m), where k is the number of prime factors of m, and a is the integer Sum_{i=1..k} (1-1/p_i) + Product_{i=1..k} (1-1/p_i).
If k = a we have m’ = b or A003415(m) = A003958(m). For instance 15 has prime factors 3, 5; its arithmetic derivative is 15’ = 8 and b = 3*5 - 3 - 5 + 1 = 8. The term 47425 has prime factors 5, 5, 7, 271. Its arithmetic derivative is 47425’ = 25920 and b = 5*5*7*271 - 5*5*7 - 5*5*271 - 5*7*271 - 5*7*271 + 5*5 + 5*7 + 5*271 + 5*7 + 5*271 + 7*271 - 5 - 5 - 7 - 271 + 1 = 25920.
The numbers of the sequence satisfy also Sum_{i=1..k} (1+1/p_i) - Product_{i=1..k} (1-1/p_i) = some integer.

Examples

			125172 has prime factors 2, 2, 3, 3, 3, 19, 61. 1 - 1/2 + 1 - 1/2 + 1 - 1/3 + 1 - 1/3 + 1 - 1/3 + 1 - 1/19 + 1 - 1/61 = 5715/1159 is the sum over the 1-1/p_i. (1-1/2) * (1-1/2) * (1-1/3) * (1-1/3) * (1-1/3) * (1-1/19) * (1-1/61) = 80/1159 is the product of the 1-1/p_i. The sum over sum and product is 5715/1159 + 80/1159 = 5, an integer.
		

Crossrefs

Programs

  • Maple
    isA198391 := proc(n)
        p := ifactors(n)[2] ;
        add(op(2,d)-op(2,d)/op(1,d),d=p) + mul((1-1/op(1,d))^op(2,d),d=p) ;
        type(%,'integer') ;
    end proc:
    for n from 2 to 20000000 do
        if isA198391(n) then
            printf("%d,\n",n);
        end if;
    end do: # R. J. Mathar, Nov 26 2011
  • Mathematica
    Select[Range[2, 10^5], IntegerQ[(Plus @@ # + Times @@ #) &@ (1 - 1/ Flatten[ Table[#1, {#2}] & @@@ FactorInteger@#])] &] (* Giovanni Resta, May 23 2016 *)

Extensions

Missing a(23) and a(26)-a(30) from Giovanni Resta, May 23 2016