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-3 of 3 results.

A181670 Triangle read by rows: T(n,k) = 2^(n-1) mod prime(k), 1 <= k <= n.

Original entry on oeis.org

1, 0, 2, 0, 1, 4, 0, 2, 3, 1, 0, 1, 1, 2, 5, 0, 2, 2, 4, 10, 6, 0, 1, 4, 1, 9, 12, 13, 0, 2, 3, 2, 7, 11, 9, 14, 0, 1, 1, 4, 3, 9, 1, 9, 3, 0, 2, 2, 1, 6, 5, 2, 18, 6, 19, 0, 1, 4, 2, 1, 10, 4, 17, 12, 9, 1, 0, 2, 3, 4, 2, 7, 8, 15, 1, 18, 2, 13, 0, 1, 1, 1, 4, 1, 16, 11, 2, 7, 4, 26, 37, 0, 2, 2, 2, 8, 2, 15
Offset: 1

Views

Author

Juri-Stepan Gerasimov, Dec 02 2010

Keywords

Examples

			Triangle begins:
  1;
  0, 2;
  0, 1, 4;
  0, 2, 3, 1;
  0, 1, 1, 2, 5;
  0, 2, 2, 4,10, 6;
  0, 1, 4, 1, 9,12,13;
  0, 2, 3, 2, 7,11, 9,14;
  0, 1, 1, 4, 3, 9, 1, 9, 3;
		

Crossrefs

Cf. A174620.

Programs

  • Mathematica
    Flatten[Table[Mod[2^(n-1),Prime[k]],{n,14},{k,n}]]

Extensions

Corrected by T. D. Noe, Dec 02 2010

A177416 Triangle read by rows: T(n,k) = 2^A141468(n) mod prime(k).

Original entry on oeis.org

1, 0, 2, 0, 1, 1, 0, 1, 4, 1, 0, 1, 1, 4, 3, 0, 2, 2, 1, 6, 5, 0, 1, 4, 2, 1, 10, 4, 0, 1, 1, 1, 4, 1, 16, 11, 0, 1, 4, 4, 5, 4, 13, 6, 8, 0, 2, 3, 1, 10, 8, 9, 12, 16, 27, 0, 1, 1, 2, 9, 3, 1, 5, 9, 25, 2, 0, 1, 4, 1, 3, 12, 4, 1, 13, 13, 8, 36, 0, 1, 1, 4, 1, 9, 16, 4, 6, 23, 1, 33, 1, 0, 2, 2, 1, 2, 5, 15, 8, 12, 17, 2, 29, 2, 42
Offset: 1

Views

Author

Juri-Stepan Gerasimov, Dec 10 2010

Keywords

Examples

			The triangle begins at row n = 1 with columns 1 <= k <= n:
  1;
  0, 2;
  0, 1, 1;
  0, 1, 4, 1;
  0, 1, 1, 4, 3;
  0, 2, 2, 1, 6, 5;
		

Crossrefs

Programs

  • Mathematica
    MapIndexed[PowerMod[2, #, Prime[Range[First[#2]]]] &, Join[{0, 1}, Select[Range[25], CompositeQ]]] (* Paolo Xausa, Jul 01 2024 *)

Extensions

A 23 replaced with 33 by R. J. Mathar, Dec 13 2010

A174660 a(n) = 2^A158611(n) mod A002808(n).

Original entry on oeis.org

1, 2, 4, 8, 2, 8, 4, 2, 0, 2, 8, 11, 2, 8, 2, 24, 23, 4, 8, 0, 29, 26, 2, 20, 34, 32, 32, 32, 8, 23, 12, 32, 2, 48, 2, 24, 32, 13, 16, 2, 44, 32, 16, 2, 0, 2, 62, 60, 50, 58, 32, 52, 17, 32, 2, 20, 32, 50, 20, 44, 32, 2, 8, 8, 38, 46, 32, 35, 42, 22, 32, 58, 41, 88, 26, 80, 23, 12, 104, 62
Offset: 1

Views

Author

Juri-Stepan Gerasimov, Nov 30 2010

Keywords

Crossrefs

Showing 1-3 of 3 results.