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.

A257120 Position of first occurrence of n in A256918.

Original entry on oeis.org

1, 4, 3, 5, 7, 11, 29, 13, 10, 15, 122, 19, 200, 31, 24, 18, 299, 22, 824, 16, 33, 124, 945, 41, 26, 202, 21, 37, 3093, 45, 7059, 40, 126, 301, 53, 66, 13527, 826, 204, 42, 28658, 36, 40810, 130, 57, 947, 46657, 64, 80, 44, 303, 208, 57449, 49, 133, 38, 828
Offset: 1

Views

Author

Reinhard Zumkeller, Apr 25 2015

Keywords

Comments

A256918(a(n)) = n and A256918(m) != n for m < a(n);
GCD(A257218(a(n)),A257218(a(n)+1)) = n;
if A257218 is a permutation, then also this sequence is a permutation;
a(n) < A257475(n); a(n) = A257475(n) - A257478(n).
a(n) >= A257122(n)-1. - Ivan Neretin, May 02 2015

Examples

			See A257478.
		

Crossrefs

Programs

  • Haskell
    import Data.List (elemIndex); import Data.Maybe (fromJust)
    a257120 = (+ 1) . fromJust . (`elemIndex` a256918_list)

Extensions

a(41)-a(57) from Hiroaki Yamanouchi, May 03 2015