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.

A076239 Remainder when 3rd-order composite ccc(n) = A050436(n) is divided by n.

Original entry on oeis.org

0, 1, 1, 2, 3, 3, 1, 6, 3, 2, 4, 1, 11, 10, 10, 8, 6, 6, 7, 8, 6, 4, 3, 2, 2, 0, 26, 0, 0, 28, 28, 29, 28, 27, 28, 28, 30, 29, 28, 30, 29, 31, 31, 30, 29, 29, 28, 28, 27, 26, 28, 29, 29, 30, 30, 29, 31, 30, 29, 32, 31, 30, 29, 28, 29, 28, 27, 26, 26, 25, 26, 26, 26, 26, 26, 28, 29
Offset: 1

Views

Author

Labos Elemer, Oct 08 2002

Keywords

Crossrefs

Programs

  • Mathematica
    MapIndexed[Mod[#1, First@ #2] &, #] &@ Nest[Values@ KeySelect[ MapIndexed[ First@ #2 -> #1 &, #], CompositeQ] &, Select[Range@ 183, CompositeQ], 2] (* Michael De Vlieger, Jul 22 2017 *)

Formula

a(n) = ccc(n) mod n = A050436(n) mod n.

A076237 a(n) = A050435(n) mod n.

Original entry on oeis.org

0, 0, 0, 0, 3, 3, 3, 1, 8, 8, 10, 9, 8, 8, 8, 7, 6, 6, 7, 8, 7, 6, 5, 4, 5, 4, 3, 4, 5, 4, 3, 4, 3, 2, 2, 2, 2, 1, 0, 0, 40, 0, 0, 43, 43, 44, 44, 45, 45, 45, 47, 48, 49, 50, 50, 50, 53, 53, 53, 55, 55, 55, 55, 55, 56, 56, 56, 56, 56, 56, 57, 58, 59, 59, 60, 62, 63, 63, 64, 65, 65, 65, 67
Offset: 1

Views

Author

Labos Elemer, Oct 08 2002

Keywords

Crossrefs

Programs

  • Mathematica
    Module[{cmps=Select[Range[300],CompositeQ],c2},c2=Table[cmps[[cmps[[n]]]],{n,100}];Mod[#[[1]],#[[2]]]&/@Thread[{c2,Range[Length[c2]]}]] (* Harvey P. Dale, May 02 2022 *)

Formula

a(n) = Mod[cc[n], n] = Mod[A050435(n), n]

A076238 a(n) = A050436(n) mod A002808(n).

Original entry on oeis.org

0, 3, 1, 8, 8, 9, 8, 8, 7, 6, 8, 7, 6, 4, 5, 4, 3, 4, 4, 4, 3, 2, 2, 2, 1, 0, 0, 0, 43, 43, 44, 45, 45, 45, 47, 48, 50, 50, 50, 53, 53, 55, 55, 55, 55, 56, 56, 56, 56, 56, 58, 59, 60, 62, 63, 63, 65, 65, 65, 68, 68, 68, 68, 68, 69, 69, 69, 69, 70, 70, 72, 72, 73, 74, 74, 76, 78, 78
Offset: 1

Views

Author

Labos Elemer, Oct 08 2002

Keywords

Crossrefs

Formula

a(n)=Mod[ccc[n], c[n]]=Mod[A050436(n), A002808[n]]
Showing 1-3 of 3 results.