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.

A094924 a(n) = (9^n-1)/8 mod n.

This page as a plain text file.
%I A094924 #13 Dec 23 2023 15:42:01
%S A094924 0,0,1,0,1,4,1,0,1,0,1,4,1,10,1,0,1,10,1,0,7,10,1,16,6,10,10,8,1,10,1,
%T A094924 0,25,10,31,28,1,10,13,0,1,28,1,28,1,10,1,16,22,0,40,40,1,10,11,24,34,
%U A094924 10,1,40,1,10,28,0,36,34,1,4,22,50,1,64,1,10,31,60,10,52,1,0,10,10,1,28,71
%N A094924 a(n) = (9^n-1)/8 mod n.
%H A094924 Antti Karttunen, <a href="/A094924/b094924.txt">Table of n, a(n) for n = 1..16384</a>
%H A094924 Antti Karttunen, <a href="/A094924/a094924.txt">Data supplement: n, a(n) computed for n = 1..65537</a>
%t A094924 Table[Mod[(9^n-1)/8,n],{n,90}] (* _Harvey P. Dale_, Dec 23 2023 *)
%o A094924 (PARI) A094924(n) = lift(Mod((9^n-1)/8,n)); \\ _Antti Karttunen_, May 19 2020
%Y A094924 Cf. A002452, A094918, A094920.
%K A094924 nonn
%O A094924 1,6
%A A094924 _N. J. A. Sloane_, Jun 18 2004