cp's OEIS Frontend

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.

A166653 Totally multiplicative sequence with a(p) = 4p-1 for prime p.

This page as a plain text file.
%I A166653 #8 May 21 2016 17:08:54
%S A166653 1,7,11,49,19,77,27,343,121,133,43,539,51,189,209,2401,67,847,75,931,
%T A166653 297,301,91,3773,361,357,1331,1323,115,1463,123,16807,473,469,513,
%U A166653 5929,147,525,561,6517,163,2079,171,2107,2299,637,187,26411,729,2527
%N A166653 Totally multiplicative sequence with a(p) = 4p-1 for prime p.
%H A166653 G. C. Greubel, <a href="/A166653/b166653.txt">Table of n, a(n) for n = 1..10000</a>
%F A166653 Multiplicative with a(p^e) = (4p-1)^e. If n = Product p(k)^e(k) then a(n) = Product (4*p(k)-1)^e(k).
%t A166653 a[1] = 1; a[n_] := (fi = FactorInteger[n]; Times @@ ((4*fi[[All, 1]] - 1)^fi[[All, 2]])); Table[a[n], {n, 1, 100}] (* _G. C. Greubel_, May 21 2016 *)
%K A166653 nonn,mult
%O A166653 1,2
%A A166653 _Jaroslav Krizek_, Oct 18 2009