login
a(n) = gcd(n, A079890(n)).
5

%I #8 Oct 18 2019 00:20:41

%S 1,2,1,4,1,2,1,8,3,2,1,4,1,2,3,16,1,6,1,4,3,1,1,8,1,1,9,4,1,6,1,32,3,

%T 2,7,12,1,2,3,8,1,6,1,2,9,2,1,16,1,2,1,2,1,18,1,8,3,1,1,12,1,1,9,64,1,

%U 3,1,1,1,1,1,24,1,1,3,1,1,3,1,16,27,2,1,12,1,2,1,4,1,18,1,4,1,2,1,32,1,2,1

%N a(n) = gcd(n, A079890(n)).

%H Harvey P. Dale, <a href="/A079891/b079891.txt">Table of n, a(n) for n = 1..1000</a>

%t lng[n_]:=Module[{x=n+1,pon=PrimeOmega[n]},While[PrimeOmega[x]-pon! = 1, x++]; x];Table[GCD[n,lng[n]],{n,100}] (* _Harvey P. Dale_, Jun 10 2013 *)

%Y Cf. A079893, A079894.

%K nonn

%O 1,2

%A _Reinhard Zumkeller_, Jan 14 2003