This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A166652 #8 May 21 2016 17:09:13 %S A166652 1,5,8,25,14,40,20,125,64,70,32,200,38,100,112,625,50,320,56,350,160, %T A166652 160,68,1000,196,190,512,500,86,560,92,3125,256,250,280,1600,110,280, %U A166652 304,1750,122,800,128,800,896,340,140,5000,400,980 %N A166652 Totally multiplicative sequence with a(p) = 3p-1 for prime p. %H A166652 G. C. Greubel, <a href="/A166652/b166652.txt">Table of n, a(n) for n = 1..10000</a> %F A166652 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 A166652 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 A166652 nonn,mult %O A166652 1,2 %A A166652 _Jaroslav Krizek_, Oct 18 2009