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.

A015921 Positive integers n such that 2^n == 4 (mod n).

Original entry on oeis.org

1, 2, 4, 6, 10, 12, 14, 22, 26, 30, 34, 38, 46, 58, 62, 74, 82, 86, 94, 106, 118, 122, 132, 134, 142, 146, 158, 166, 170, 178, 182, 194, 202, 206, 214, 218, 226, 254, 262, 274, 278, 298, 302, 314, 326, 334, 346, 358, 362, 372, 382, 386, 394, 398, 422, 446
Offset: 1

Views

Author

Keywords

Comments

Odd terms are given by A173572.
For all m, 2^A050259(m)-1 belongs to this sequence.

Crossrefs

Contains A050990 as a subsequence.

Programs

  • Mathematica
    Select[Range[500], PowerMod[2, #, #] == 4 &] (* Alonso del Arte, Jul 07 2011 *)

Extensions

Edited and terms 1,2,4 prepended by Max Alekseyev, Jul 29 2011