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.

A084300 a(n) = phi(n) mod 6.

This page as a plain text file.
%I A084300 #14 Aug 17 2024 09:16:16
%S A084300 1,1,2,2,4,2,0,4,0,4,4,4,0,0,2,2,4,0,0,2,0,4,4,2,2,0,0,0,4,2,0,4,2,4,
%T A084300 0,0,0,0,0,4,4,0,0,2,0,4,4,4,0,2,2,0,4,0,4,0,0,4,4,4,0,0,0,2,0,2,0,2,
%U A084300 2,0,4,0,0,0,4,0,0,0,0,2,0,4,4,0,4,0,2,4,4,0,0,2,0,4,0,2,0,0,0,4,4,2,0,0,0
%N A084300 a(n) = phi(n) mod 6.
%H A084300 Antti Karttunen, <a href="/A084300/b084300.txt">Table of n, a(n) for n = 1..10000</a>
%F A084300 a(n) = A000010(n) mod 6.
%F A084300 a(n) = A010875(A000010(n)). - _Amiram Eldar_, Aug 17 2024
%t A084300 a[n_] := Mod[EulerPhi[n], 6]; Array[a, 100] (* _Amiram Eldar_, Aug 17 2024 *)
%o A084300 (PARI) A084300(n) = (eulerphi(n)%6); \\ _Antti Karttunen_, Aug 22 2017
%Y A084300 Cf. A000010, A010875, A054763, A074942, A084299, A084301.
%K A084300 easy,nonn
%O A084300 1,3
%A A084300 _Labos Elemer_, Jun 02 2003