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 A361248 #36 Jun 20 2023 15:00:51 %S A361248 4,4,4,4,5,6,7,8,56,72,91,651,651,1080,1080,1443,20163,20163,246962, %T A361248 246962,246962,609843,2162162,2162162,29055601,29055601,107881202, %U A361248 107881202,205405203,205405203,3625549202,5675443203,8374212002,8374212002,8374212002,8374212002,131668891200,131668891200 %N A361248 a(n) is the smallest integer k > 3 that satisfies k mod j <= 3 for all integers j in 1..n. %H A361248 Chai Wah Wu, <a href="/A361248/b361248.txt">Table of n, a(n) for n = 1..48</a> %F A361248 For n > 2, n <= a(n) < A003418(n). - _Charles R Greathouse IV_, Apr 27 2023 %e A361248 a(11)=91 since 91 mod 11 = 3, 91 mod 10 = 1, 91 mod 9 = 1, 91 mod 8 = 3, 91 mod 7 = 0, 91 mod 6 = 1, 91 mod 5 = 1, 91 mod 4 = 3, 91 mod 3 = 1, 91 mod 2 = 1, 91 mod 1 = 0 and 91 is the smallest integer greater than 3 where all of these remainders are 3 or less. %o A361248 (Python) %o A361248 final=100 %o A361248 k=4 %o A361248 for n in range(1, final+1): %o A361248 j = n+1 %o A361248 while (j > 3): %o A361248 j -= 1 %o A361248 if k%j>3: %o A361248 k += j-(k%j) %o A361248 j = n+1 %o A361248 print(k) %o A361248 (PARI) isok(k, n) = for (j=5, n, if ((k % j) > 3, return(0))); return(1); %o A361248 a(n) = my(k=4); while(!isok(k, n), k++); k; \\ _Michel Marcus_, Mar 17 2023 %Y A361248 Cf. A003418 (all remainders 0). %Y A361248 Cf. A361246, A361247. %K A361248 nonn %O A361248 1,1 %A A361248 _Andrew Cogliano_, Mar 05 2023