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.

A282444 Numbers k such that A282442(k) = k + 1.

This page as a plain text file.
%I A282444 #25 Aug 12 2022 09:17:39
%S A282444 1,2,5,8,14,50,119,200,269,299,1154,5369,47249,48299,58643,130325,
%T A282444 148979,282074,887480
%N A282444 Numbers k such that A282442(k) = k + 1.
%C A282444 a(18) > 10^6. - _Hakan Icoz_, Apr 09 2021
%H A282444 Mathematics Stack Exchange user Sheljohn, <a href="http://math.stackexchange.com/questions/2145924">A curious sequence</a>.
%o A282444 (Python)
%o A282444 def A282442():
%o A282444     n = 0
%o A282444     while True:
%o A282444         n += 1
%o A282444         h = n
%o A282444         k = 2
%o A282444         while h >= k:
%o A282444             h = h % k
%o A282444             h = n - h
%o A282444             k += 1
%o A282444         yield k
%o A282444 n=0
%o A282444 for i in A282442():
%o A282444     n += 1
%o A282444     if i == n+1:
%o A282444         print(n) # _Hakan Icoz_, Apr 09 2021
%Y A282444 Cf. A282442.
%K A282444 nonn,more
%O A282444 1,2
%A A282444 _Peter Kagey_, Feb 15 2017
%E A282444 a(13)-a(19) from _Hakan Icoz_, Apr 09 2021