A334185 Let m = d*q + r be the Euclidean division of m by d. The terms m of this sequence satisfy that r, q, d are consecutive positive integer terms in a geometric progression with a common integer ratio.
9, 28, 34, 65, 75, 110, 126, 132, 205, 217, 246, 258, 294, 344, 399, 436, 502, 513, 520, 579, 657, 680, 730, 810, 866, 978, 979, 1001, 1028, 1128, 1164, 1330, 1332, 1365, 1374, 1582, 1605, 1729, 1736, 1815, 1947, 2004, 2050, 2064, 2196, 2198, 2310, 2329, 2610, 2710
Offset: 1
Keywords
Examples
a(2) = 28 = 9*3 + 1 with (1,3,9) and ratio = 3; a(5) = 75 = 12*6 + 3 with (3,6,12) and ratio = 2; a(12) = 258 = 32*8 + 2 with (2,8,32) and ratio = 4; a(42) = 2004 = 100*20 + 4 with (r=4, q=20, d=100) but also 2004 = 20*100 + 4 with (r=4, d'=20, q'=100) both with ratio = 5: 2004 | 100 2004 | 20 +----- +----- 4 | 20 4 | 100
Links
- Project Euler, Problem 141: Investigating progressive numbers, n, which are also square
- Wikipedia, Euclidean division
Crossrefs
Programs
-
Mathematica
Select[Range[2000], Length @ Solve[r * (1 + r*b^3) == # && r >=1 && b >= 2, {r, b}, Integers] > 0 &] (* Amiram Eldar, Apr 18 2020 *)
-
PARI
isok(m) = {for (d=1, m, if (m % d, q = m\d; r = m % d; if (!(d % q) && (d/q == q/r), return (1));););} \\ Michel Marcus, Apr 19 2020
Extensions
Name improved by Michel Marcus, Apr 19 2020
More terms from Michel Marcus, Apr 19 2020
Comments