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.

A119513 a(n) = A119957(n) / n.

This page as a plain text file.
%I A119513 #17 Jul 28 2025 10:54:36
%S A119513 0,0,1,0,2,1,1,0,3,2,5,1,6,1,1,0,4,3,9,2,2,5,4,1,10,6,9,1,14,1,1,0,5,
%T A119513 4,5,3,18,9,4,2,10,2,7,5,5,4,9,1,10,10,2,6,26,9,8,1,9,14,29,1,30,1,1,
%U A119513 0,6,5,33,4,11,5,14,3,3,18,9,9,15,4,17,2,27,10,41,2,2,7,11,5,4,5,4,4,3,9,14
%N A119513 a(n) = A119957(n) / n.
%H A119513 Andrei Zabolotskii, <a href="/A119513/b119513.txt">Table of n, a(n) for n = 1..8192</a>
%e A119513 a(35) = A119957(35) / 35 = 175 / 35 = 5.
%t A119513 a[n_] := Total[PowerMod[2, Range[n-MultiplicativeOrder[2, n/2^IntegerExponent[n, 2]], n-1], n]] / n;
%t A119513 Table[a[n], {n,95}] (* _Andrei Zabolotskii_, Jul 28 2025 *)
%Y A119513 Cf. A119957, A007733, A038553. The positions of 1's are A175332.
%K A119513 base,easy,nonn
%O A119513 1,5
%A A119513 _Néstor Romeral Andrés_, Aug 04 2006
%E A119513 Offset corrected by _Andrei Zabolotskii_, Jul 28 2025