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

A238525 n modulo sopfr(n), where sopfr(n) is the sum of the prime factors of n, with multiplicity.

Original entry on oeis.org

0, 0, 0, 0, 1, 0, 2, 3, 3, 0, 5, 0, 5, 7, 0, 0, 2, 0, 2, 1, 9, 0, 6, 5, 11, 0, 6, 0, 0, 0, 2, 5, 15, 11, 6, 0, 17, 7, 7, 0, 6, 0, 14, 1, 21, 0, 4, 7, 2, 11, 1, 0, 10, 7, 4, 13, 27, 0, 0, 0, 29, 11, 4, 11, 2, 0, 5, 17, 0, 0, 0, 0, 35, 10, 7, 5, 6, 0, 2, 9, 39
Offset: 2

Views

Author

J. Stauduhar, Feb 28 2014

Keywords

Comments

a(A036844(n)) = 0. - Reinhard Zumkeller, Jul 21 2014

Examples

			a(6) = 1, because 6 mod sopfr(6) = 6 mod 5 = 1.
		

Crossrefs

Programs

  • Haskell
    a238525 n = mod n $ a001414 n  -- Reinhard Zumkeller, Jul 21 2014
  • Mathematica
    Table[Mod[n, Apply[Dot, Transpose[FactorInteger[n]]]], {n, 105}] (* Wouter Meeussen, Mar 01 2014 *)
    mms[n_]:=Mod[n,Total[Flatten[Table[#[[1]],#[[2]]]&/@FactorInteger[ n]]]]; Array[mms,90,2] (* Harvey P. Dale, May 25 2016 *)

Formula

a(n) = n mod A001414(n).

A238526 Record values of A238525.

Original entry on oeis.org

0, 1, 2, 3, 5, 7, 9, 11, 15, 17, 21, 27, 29, 35, 39, 41, 45, 51, 57, 59, 65, 69, 71, 77, 81, 87, 95, 99, 101, 105, 107, 111, 125, 129, 135, 137, 147, 149, 155, 161, 165, 171, 177, 179, 189, 191, 195, 197, 209, 221, 225, 227, 231, 237, 239, 249, 255, 261, 267, 269, 275, 279, 281, 291, 305, 309, 311, 315, 329, 335, 345, 347, 351, 357, 365, 371, 377, 381, 387, 395, 399, 407, 417, 419, 429, 431, 437
Offset: 1

Views

Author

J. Stauduhar, Feb 28 2014

Keywords

Crossrefs

Programs

  • Mathematica
    Union @ FoldList[Max, Table[Mod[n, Plus @@ Times @@@ FactorInteger[n]], {n, 2, 1000}]] (* Amiram Eldar, May 17 2021 *)

A238527 Prime values of A238525.

Original entry on oeis.org

2, 3, 3, 5, 5, 7, 2, 2, 5, 11, 2, 5, 11, 17, 7, 7, 7, 2, 11, 7, 13, 29, 11, 11, 2, 5, 17, 7, 5, 2, 19, 41, 23, 3, 11, 11, 23, 5, 2, 2, 2, 31, 7, 3, 17, 3, 23, 11, 59, 19, 5, 2, 37, 3, 41, 23, 71, 11, 2, 11, 47, 11, 29, 13, 13, 2, 31, 5, 5, 53, 17, 19, 13, 61, 23, 101, 19, 29, 41, 23, 107, 67, 11, 3, 3, 47, 73, 2, 3, 17
Offset: 1

Views

Author

J. Stauduhar, Feb 28 2014

Keywords

Crossrefs

Programs

  • Mathematica
    Select[Table[Mod[n, Plus @@ Times @@@ FactorInteger[n]], {n, 2, 300}], PrimeQ] (* Amiram Eldar, May 17 2021 *)

A238621 Position of first occurrence of n in A238525.

Original entry on oeis.org

1, 6, 8, 9, 48, 12, 24, 15, 120, 22, 54, 26, 90, 57, 44, 34, 156, 38, 114, 85, 228, 46, 232, 87, 348, 93, 138, 58, 318, 62, 372, 111, 333, 265, 354, 74, 366, 129, 296, 82, 369, 86, 402, 667, 387, 94, 328, 159, 438, 244, 530, 106, 423, 177, 474, 183, 1416, 118, 498, 122, 742, 201, 590, 415, 534, 134, 610, 219
Offset: 0

Views

Author

Robert G. Wilson v, Mar 01 2014

Keywords

Crossrefs

Programs

  • Mathematica
    f[n_] := Mod[n, Dot @@ Transpose@ FactorInteger@ n]; t = Table[0, {1000}]; k = 1; While[k < 100001, a = f[k]; If[a < 1001 && t[[a]] == 0, t[[a]] = k; Print[{a, k}]]; k++]; t
Showing 1-4 of 4 results.