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.

A294390 a(n) = 2^(n-4) mod n, for n >= 4.

Original entry on oeis.org

1, 2, 4, 1, 0, 5, 4, 7, 4, 5, 2, 8, 0, 15, 4, 12, 16, 11, 14, 3, 16, 2, 10, 5, 8, 11, 4, 4, 0, 17, 30, 23, 4, 14, 24, 20, 16, 36, 4, 27, 12, 32, 6, 6, 16, 8, 14, 26, 40, 20, 22, 13, 16, 29, 22, 37, 16, 23, 8, 32, 0, 2, 4, 42, 52, 35, 64, 9, 40, 64, 28, 23, 20, 30, 4
Offset: 4

Views

Author

Enrique Navarrete, Oct 29 2017

Keywords

Comments

Every nonnegative integer seems to appear in the sequence, and every integer seems to appear in the sequence of first differences (see link).
From Robert Israel, Dec 04 2017: (Start)
a(n) = 0 iff n>=8 is a power of 2.
a(n) = 1 iff n=4 or n is in A033984.
a(n) = 2 iff n>=4 is in A015925 and is not divisible by 4. (End)

Examples

			For n=9, 2^5 = 32 == 5 mod 9.
		

Crossrefs

Programs

Extensions

More terms from Michel Marcus, Oct 30 2017