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.

A134767 Indices where primes occur in variant of permutational numbers A134750.

Original entry on oeis.org

3, 14, 17, 19, 20, 25, 28, 33, 38, 52, 57, 63, 68, 89, 91, 100, 111, 113, 115, 119, 123, 124, 125, 127, 130, 131, 133, 141, 142, 143, 144, 145, 146, 151, 158, 164, 172, 174, 179, 185, 198, 209, 212, 256, 258, 275, 294, 299, 307, 309, 323, 326, 331, 332, 337
Offset: 1

Views

Author

Artur Jasinski, Nov 10 2007

Keywords

Comments

For primes in A134750 see A134766

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, 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.