A050379 Number of ordered factorizations of n into members of A050376.
1, 1, 1, 2, 1, 2, 1, 3, 2, 2, 1, 5, 1, 2, 2, 6, 1, 5, 1, 5, 2, 2, 1, 10, 2, 2, 3, 5, 1, 6, 1, 10, 2, 2, 2, 14, 1, 2, 2, 10, 1, 6, 1, 5, 5, 2, 1, 22, 2, 5, 2, 5, 1, 10, 2, 10, 2, 2, 1, 18, 1, 2, 5, 18, 2, 6, 1, 5, 2, 6, 1, 32, 1, 2, 5, 5, 2, 6, 1, 22, 6, 2, 1, 18, 2, 2, 2, 10, 1, 18, 2, 5, 2, 2, 2
Offset: 1
Keywords
Links
Programs
-
Maple
read(transforms) : L := [1] : for n from 2 to 100 do if isA050376(n) then L := [op(L),-1] ; else L := [op(L),0] ; end if; end do : a050379 := DIRICHLETi(L) ; # R. J. Mathar, May 26 2017
-
PARI
A064547(n) = {my(f = factor(n)[, 2]); sum(k=1, #f, hammingweight(f[k])); } \\ Michel Marcus, Feb 10 2016 isA050376(n) = ((1==omega(n)) && (1==A064547(n))); \\ Checking that omega(n) is 1 is just an optimization here. A050379(n) = if(1==n,n,sumdiv(n,d,if(d
A050376(n/d)*A050379(d),0))); \\ Antti Karttunen, Oct 20 2017
Comments