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.

A036117 a(n) = 2^n mod 11.

Original entry on oeis.org

1, 2, 4, 8, 5, 10, 9, 7, 3, 6, 1, 2, 4, 8, 5, 10, 9, 7, 3, 6, 1, 2, 4, 8, 5, 10, 9, 7, 3, 6, 1, 2, 4, 8, 5, 10, 9, 7, 3, 6, 1, 2, 4, 8, 5, 10, 9, 7, 3, 6, 1, 2, 4, 8, 5, 10, 9, 7, 3, 6, 1, 2, 4, 8, 5, 10, 9, 7, 3, 6, 1, 2, 4, 8, 5, 10, 9, 7
Offset: 0

Views

Author

Keywords

Comments

a(k) = k has only one solution, namely k=7. - Jon Perry, Oct 30 2014
As 2 is a primitive root of 11, all integers 1 through 10 are present. - Jon Perry, Oct 30 2014

Examples

			2^6 = 64 = 66 - 2 == -2 mod 11 == 9 mod 11, so a(6) = 9.
		

References

  • H. Cohn, A Second Course in Number Theory, Wiley, NY, 1962, p. 256.
  • I. M. Vinogradov, Elements of Number Theory, pp. 220 ff.

Crossrefs

Cf. A000079 (2^n), A008830, A168429.

Programs

Formula

a(n) = a(n-1) - a(n-5) + a(n-6). - R. J. Mathar, Apr 13 2010
G.f.: (1+x+2*x^2+4*x^3-3*x^4+6*x^5)/ ((1-x) * (1+x) * (x^4-x^3+x^2-x+1)). - R. J. Mathar, Apr 13 2010
a(n+10) = a(n). - Jon Perry, Oct 30 2014
a(n+5) = 11 - a(n) for all n in Z. - Michael Somos, Oct 17 2018