login
a(1)=1, a(n+1)=a(spf(n))+a(gpf(n)), where spf(n) and gpf(n) are the smallest and greatest prime factors of n (A020639, A006530).
0

%I #3 Mar 30 2012 18:50:29

%S 1,2,4,8,4,8,6,12,4,8,6,12,6,12,8,8,4,8,6,12,6,10,8,16,6,8,8,8,8,16,6,

%T 12,4,10,6,10,6,12,8,10,6,12,8,16,8,8,10,20,6,12,6,8,8,16,6,10,8,10,

%U 10,20,6,12,8,10,4,10,8,16,6,12,8,16,6,12,8,8,8,12,8,16,6,8,8,16,8,8,10,12

%N a(1)=1, a(n+1)=a(spf(n))+a(gpf(n)), where spf(n) and gpf(n) are the smallest and greatest prime factors of n (A020639, A006530).

%K nonn

%O 1,2

%A _Reinhard Zumkeller_, Jan 03 2003