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.

A381528 Indices of records in A381526.

This page as a plain text file.
%I A381528 #6 Mar 03 2025 13:37:19
%S A381528 0,1,3,22,24,32,42,72,84,384,724,2584,200000002,200000004,2000000002
%N A381528 Indices of records in A381526.
%o A381528 (Python)
%o A381528 from itertools import count
%o A381528 def b(n):
%o A381528     if n in [0, 2, 4, 8] or n % 10 == 0: return -1
%o A381528     for k in count(1):
%o A381528         if str(k) in str(k*n): return k
%o A381528 a, n, max = [], 0, -2
%o A381528 while len(a) < 10:
%o A381528     if (m := b(n)) > max:
%o A381528         a.append(n)
%o A381528         max = m
%o A381528     n += 1
%o A381528 print(a)
%Y A381528 Cf. A381526.
%K A381528 nonn
%O A381528 1,3
%A A381528 _Dominic McCarty_, Feb 26 2025