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

A134766 Primes among variant of permutational numbers A134750.

Original entry on oeis.org

5, 139, 163, 193, 199, 241, 283, 313, 1019, 1319, 1367, 1523, 1759, 2179, 2251, 2539, 2767, 2803, 2851, 2927, 3011, 3163, 3167, 3191, 3319, 3323, 3347, 3491, 3539, 3547, 3559, 3571, 3607, 3691, 11261, 11471, 11801, 11831, 12281, 12641, 13121, 13721
Offset: 1

Views

Author

Artur Jasinski, Nov 10 2007

Keywords

Comments

For indices where primes occurs in A134750, see A134767.

Crossrefs

Programs

  • Mathematica
    k = {}; a = {}; b = {}; Do[AppendTo[b, n]; w = Permutations[b]; Do[j = FromDigits[1 + w[[m]], n + 1]; AppendTo[a, j], {m, 1, Length[w]}], {n, 0, 6}]; Do[If[PrimeQ[a[[n]]], AppendTo[k, a[[n]]]], {n, 1, Length[a]}]; k

A134768 First differences of variant of permutational numbers A134750 .

Original entry on oeis.org

3, 1, 13, 2, 4, 4, 4, 2, 78, 3, 9, 6, 9, 3, 18, 3, 21, 9, 6, 6, 15, 6, 6, 9, 21, 3, 18, 3, 9, 6, 9, 3, 662, 4, 16, 8, 16, 4, 52, 4, 36, 12, 12, 8, 48, 8, 12, 12, 36, 4, 52, 4, 16, 8, 16, 4, 108, 4, 16, 8, 16, 4, 152, 4, 56, 16, 8, 12, 24, 8, 32, 16, 32, 8, 28, 4, 36, 12, 12, 8, 84, 4, 36, 12
Offset: 1

Views

Author

Artur Jasinski, Nov 10 2007

Keywords

Crossrefs

Programs

  • Mathematica
    k = {}; a = {}; b = {}; Do[AppendTo[b, n]; w = Permutations[b]; Do[j = FromDigits[1 + w[[m]], n + 1]; AppendTo[a, j], {m, 1, Length[w]}], {n, 0, 6}]; Do[AppendTo[k, a[[n + 1]] - a[[n]]], {n, 1, Length[a] - 1}]; k
Showing 1-2 of 2 results.