The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A269305 2^n mod 27 successively displaced by 0, 3, 6, 9, etc. 0
 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, 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, 23, 13, 20, 10, 11, 13, 17, 25, 14, 19, 2, 22, 8, 7, 5, 1, 20 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,2 COMMENTS Repeats with period 18*9 = 162. LINKS Table of n, a(n) for n=0..67. FORMULA a(n) = (2^n + 3*floor(n/18)) mod 27. MATHEMATICA Table[Mod[(2^n + 3 Floor[n/18]), 27], {n, 0, 70}] (* Vincenzo Librandi, Feb 23 2016 *) PROG (Magma) [(2^n+3*Floor(n/18)) mod 27: n in [0..80]]; // Vincenzo Librandi, Feb 23 2016 (PARI) a(n) = (2^n + 3*(n\18)) % 27; \\ Michel Marcus, Feb 24 2016 CROSSREFS Cf. A070337. Sequence in context: A050076 A276070 A070337 * A225570 A352391 A178170 Adjacent sequences: A269302 A269303 A269304 * A269306 A269307 A269308 KEYWORD nonn,easy,less AUTHOR Joe Slater, Feb 22 2016 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified August 5 17:52 EDT 2024. Contains 374954 sequences. (Running on oeis4.)