A347392 Numbers k such that nearest common ancestor of k and sigma(k) in Doudna tree (A347879) is the grandparent of k.
8, 9, 12, 13, 24, 35, 160, 455, 42550, 127650, 8041950, 22469750, 58506250, 67409250, 175518750, 394055550, 4246782750
Offset: 1
Examples
455 is included in the sequence as sigma(455) = 672, and the nearest common ancestor of 455 and 672 in Doudna tree is 42, which is the grandparent of 455 [as 455 = A003961(A003961(42))] and the grand-grand-grand-parent of 672 [as 672 = (2^4)*42].
Links
Crossrefs
Programs
-
PARI
isA347392(n) = (2==A347381(n));
-
PARI
A064989(n) = {my(f); f = factor(n); if((n>1 && f[1,1]==2), f[1,2] = 0); for (i=1, #f~, f[i,1] = precprime(f[i,1]-1)); factorback(f)}; A252463(n) = if(!(n%2),n/2,A064989(n)); isA347391(n) = if(1==n,0,my(m=A252463(n), s=sigma(n)); while(s>m, if(s==n, return(0)); s = A252463(s)); (s==m)); isA347391_or_A347392(n) = if(1==n,0,my(m=A252463(A252463(n)), s=sigma(n)); while(s>m, if(s==n, return(0)); s = A252463(s)); (s==m)); isA347392(n) = (isA347391_or_A347392(n) && !isA347391(n));
Comments