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 A216096 #28 Aug 07 2025 20:18:07 %S A216096 1,3,9,27,81,243,729,187,561,683,49,147,441,323,969,907,721,163,489, %T A216096 467,401,203,609,827,481,443,329,987,961,883,649,947,841,523,569,707, %U A216096 121,363,89,267,801,403,209,627,881,643,929,787,361,83,249,747,241,723,169,507,521,563,689 %N A216096 a(n) = 3^n mod 1000. %C A216096 Period = 100. %H A216096 V. Raman and Vincenzo Librandi, <a href="/A216096/b216096.txt">Table of n, a(n) for n = 0..1000</a> (first 100 terms from V. Raman) %H A216096 <a href="/index/Rec#order_100">Index entries for linear recurrences with constant coefficients</a>, order 100. %t A216096 PowerMod[3, Range[0, 100], 1000] (* _Vincenzo Librandi_, Aug 16 2016 *) %o A216096 (PARI) a(n) = lift(Mod(3, 1000)^n); \\ _Michel Marcus_, Aug 16 2016 %o A216096 (Magma) [Modexp(3, n, 1000): n in [0..110]]; // _Vincenzo Librandi_, Aug 16 2016 %Y A216096 Cf. A001148, A001218, A216097. %K A216096 nonn,easy %O A216096 0,2 %A A216096 _V. Raman_, Sep 01 2012 %E A216096 Definition corrected by _Zak Seidov_, Jul 27 2014 %E A216096 Offset changed and a(0) = 1 prepended by _Vincenzo Librandi_, Aug 16 2016