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.

A065293 Number of values of s, 0 <= s <= n-1, such that 2^s mod n = s.

Original entry on oeis.org

1, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, 1, 2, 0, 0, 1, 0, 2, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 0, 1, 2, 1, 1, 1, 0, 0, 3, 0, 0, 1, 1, 2, 0, 1, 2, 1, 0, 2, 0, 2, 0, 1, 1, 1, 1, 0, 2, 1, 0, 0, 0, 2, 1, 1, 1, 1, 1, 0, 1, 2, 0, 1, 1, 0, 1, 1, 0, 1, 0, 0, 0, 2, 2, 0, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 1, 1, 1
Offset: 1

Views

Author

Jonathan Ayres (jonathan.ayres(AT)btinternet.com), Oct 28 2001

Keywords

Examples

			For n=5 we have (2^0) mod 5 = 1, (2^1) mod 5 = 2, (2^2) mod 5 = 4, (2^3) mod 5 = 3, (2^4) mod 5 = 1. Only for s=3 does (2^s) mod 5=s, so a(5)=1
		

Crossrefs

Cf. A065294.

Programs

Extensions

a(1) corrected by Michel Marcus, Jun 20 2018