Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%I #8 May 21 2016 17:09:13
%S 1,5,8,25,14,40,20,125,64,70,32,200,38,100,112,625,50,320,56,350,160,
%T 160,68,1000,196,190,512,500,86,560,92,3125,256,250,280,1600,110,280,
%U 304,1750,122,800,128,800,896,340,140,5000,400,980
%N Totally multiplicative sequence with a(p) = 3p-1 for prime p.
%H G. C. Greubel, <a href="/A166652/b166652.txt">Table of n, a(n) for n = 1..10000</a>
%F Multiplicative with a(p^e) = (3p-1)^e. If n = Product p(k)^e(k) then a(n) = Product (3*p(k)-1)^e(k).
%t a[1] = 1; a[n_] := (fi = FactorInteger[n]; Times @@ ((3*fi[[All, 1]] - 1)^fi[[All, 2]])); Table[a[n], {n, 1, 100}] (* _G. C. Greubel_, May 21 2016 *)
%K nonn,mult
%O 1,2
%A _Jaroslav Krizek_, Oct 18 2009