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 A127629 #30 Feb 11 2024 12:40:00 %S A127629 9,28,34,58,65,75,110,126,132,201,205,217,224,246,254,258,294,344,384, %T A127629 399,436,498,502,513,516,520,579,657,680,690,730,786,810,866,880,978, %U A127629 979,1001,1008,1028,1038,1105,1128,1164,1330,1332,1365,1370,1374,1388 %N A127629 Numbers m such that a divisor, together with its quotient and remainder, are consecutive terms (in that order) in a geometric sequence. %C A127629 The sequence misses the primes. %C A127629 When m is a term, then m = d*q + r and r<q<d are in geometric progression; but also, in this case, m = d'*q' + r with r<d'<q' that are in geometric progression with d'=q and q'=d (see examples). - _Bernard Schott_, May 15 2020 %H A127629 Amiram Eldar, <a href="/A127629/b127629.txt">Table of n, a(n) for n = 1..10000</a> %H A127629 C. Hughes, <a href="http://mathschallenge.net/index.php?section=problems&show=true&titleid=geometric_division">Geometric Division</a> %H A127629 Wikipedia, <a href="https://en.wikipedia.org/wiki/Euclidean_division">Euclidean division</a> %e A127629 58 is in the sequence because 58 = 9*6 + 4, where 9, 6 and 4 are consecutive terms in a geometric sequence. %e A127629 For a(4) = 58 with noninteger ratio = 3/2: %e A127629 58 | 9 58 | 6 %e A127629 ------ ------ %e A127629 4 | 6 4 | 9 %e A127629 For a(16) = 258 with integer ratio = 4: %e A127629 258 | 32 258 | 8 %e A127629 ------ ------- %e A127629 2 | 8 2 | 32 %t A127629 mx = 1388; m = Ceiling @ Sqrt[mx]; s={}; Do[r = Select[Divisors[k^2], #<k &]; q = k^2/r; v = q * k + r; s = Join[s, v], {k, 1, m}]; Select[Union[s], # <= mx &] (* _Amiram Eldar_, Aug 28 2019 *) %o A127629 (PARI) is(n)={for(d=1, n, if((n\d)*(n%d)==d^2, return(1))); return(0)} %Y A127629 Disjoint union of A334185 and A334186. %Y A127629 Subsequence: A001093 \ {0, 1, 2} (for remainder = 1). %K A127629 easy,nonn %O A127629 1,1 %A A127629 _Nick Hobson_, Jan 20 2007