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.
%I A347306 #35 Nov 08 2021 12:13:31 %S A347306 1,8,11,2,7,9,20,12,15,3,28,13,19,10,16,21,37,17,51,23,27,4,53,24,33, %T A347306 14,29,34,47,25,101,30,38,22,43,31,116,18,44,39,58,45,63,48,52,5,99, %U A347306 49,59,54,68,60,81,55,64,50,73,35,136,56,146,26,65,69,72,66,159,74,77,70,153 %N A347306 When k appears in A347113, or -1 if k never appears. %C A347306 It is conjectured that every positive number appears in A347113. - _N. J. A. Sloane_, Nov 08 2021 %H A347306 Michael De Vlieger, <a href="/A347306/b347306.txt">Table of n, a(n) for n = 1..10000</a> (first 3330 terms from N. J. A. Sloane) %H A347306 Hugo Pfoertner, <a href="/A347306/a347306.txt">Table of n, a(n) for n = 1..132708</a> %H A347306 Hugo Pfoertner, <a href="/A347306/a347306.pdf">Illustration of terms corresponding to first 400000 terms of A347113</a>, use zoom to see details. %t A347306 With[{s = Import["https://oeis.org/A347113/b347113.txt", "Data"][[All, -1]]}, Array[FirstPosition[s, #][[1]] &, 71]] (* _Michael De Vlieger_, Sep 01 2021 *) %o A347306 (Python) %o A347306 from math import gcd %o A347306 def A347306(n): %o A347306 if n == 1: %o A347306 return 1 %o A347306 i, j, nset, m = 1, 2, {1}, 2 %o A347306 while True: %o A347306 k = m %o A347306 i += 1 %o A347306 while k == j or gcd(k,j) == 1 or k in nset: %o A347306 k += 1 %o A347306 if k == n: %o A347306 return i %o A347306 j = k+1 %o A347306 nset.add(k) %o A347306 while m in nset: %o A347306 m += 1 # _Chai Wah Wu_, Sep 02 2021 %Y A347306 Cf. A347113. %K A347306 nonn %O A347306 1,2 %A A347306 _N. J. A. Sloane_, Sep 01 2021