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 A359182 #17 Mar 25 2023 04:09:21 %S A359182 1,1,2,2,4,4,8,8,8,16,12,16,16,32,24,32,32,64,48,48,64,48,72,64,128, %T A359182 96,96,128,96,144,128,256,192,192,256,192,288,240,256,512,288,384,288, %U A359182 432,384,512,384,576,480,512,1024,576,768,480,576,864,768,1024,768 %N A359182 Totient of numbers of least prime signature: a(n) = A000010(A025487(n)). %C A359182 This sequence is to A146288 as phi (A000010, the totient function) is to tau (A000005, the number of divisors function). %H A359182 Vaclav Kotesovec, <a href="/A359182/b359182.txt">Table of n, a(n) for n = 1..10000</a> (terms 1..160 from Hal M. Switkay) %t A359182 s = {1}; Do[If[GreaterEqual @@ (f = FactorInteger[n])[[;; , 2]] && PrimePi[f[[-1, 1]]] == Length[f], AppendTo[s, EulerPhi[n]]], {n, 2, 3500}]; s (* _Amiram Eldar_, Dec 19 2022 *) %o A359182 (PARI) is(n) = {if(n==1, return(1)); my(f = factor(n)); f[#f~, 1] == prime(#f~) && vecsort(f[, 2], , 4) == f[, 2]}; \\ A025487 %o A359182 lista(nn) = apply(eulerphi, select(is, [1..nn])); \\ _Michel Marcus_, Dec 19 2022 %Y A359182 Cf. A000005, A000010, A025487, A146288. %K A359182 nonn %O A359182 1,3 %A A359182 _Hal M. Switkay_, Dec 18 2022