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.

Showing 1-1 of 1 results.

A176817 Nonprimes k such that 2^(k-1) == 4^(k-1) (mod k).

Original entry on oeis.org

1, 4, 8, 16, 28, 32, 64, 112, 128, 256, 341, 448, 496, 512, 561, 645, 1016, 1024, 1105, 1288, 1387, 1729, 1792, 1905, 2044, 2047, 2048, 2416, 2465, 2701, 2821, 3277, 4033, 4096, 4369, 4371, 4672, 4681, 4984, 5461, 6601, 7168, 7936, 7957, 8128, 8192, 8321, 8481, 8911
Offset: 1

Views

Author

Juri-Stepan Gerasimov, Dec 07 2010

Keywords

Comments

All powers of two are present.

Crossrefs

Programs

  • Mathematica
     fQ[n_] := !PrimeQ@ n && PowerMod[2, n - 1, n] == PowerMod[4, n - 1, n]; Select[ Range@ 10000, fQ]
Showing 1-1 of 1 results.