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.

A269305 2^n mod 27 successively displaced by 0, 3, 6, 9, etc.

This page as a plain text file.
%I A269305 #17 Sep 08 2022 08:46:15
%S A269305 1,2,4,8,16,5,10,20,13,26,25,23,19,11,22,17,7,14,4,5,7,11,19,8,13,23,
%T A269305 16,2,1,26,22,14,25,20,10,17,7,8,10,14,22,11,16,26,19,5,4,2,25,17,1,
%U A269305 23,13,20,10,11,13,17,25,14,19,2,22,8,7,5,1,20
%N A269305 2^n mod 27 successively displaced by 0, 3, 6, 9, etc.
%C A269305 Repeats with period 18*9 = 162.
%F A269305 a(n) = (2^n + 3*floor(n/18)) mod 27.
%t A269305 Table[Mod[(2^n + 3 Floor[n/18]), 27], {n, 0, 70}] (* _Vincenzo Librandi_, Feb 23 2016 *)
%o A269305 (Magma) [(2^n+3*Floor(n/18)) mod 27: n in [0..80]]; // _Vincenzo Librandi_, Feb 23 2016
%o A269305 (PARI) a(n) = (2^n + 3*(n\18)) % 27; \\ _Michel Marcus_, Feb 24 2016
%Y A269305 Cf. A070337.
%K A269305 nonn,easy,less
%O A269305 0,2
%A A269305 _Joe Slater_, Feb 22 2016