OFFSET
1,2
COMMENTS
LINKS
Chai Wah Wu, Table of n, a(n) for n = 1..86 (terms 1..72 from Michael De Vlieger)
EXAMPLE
Table of n, a(n), and b(n) for select n:
n a(n) b(n)
---------------------------------------------------
1 s(1) = 1 = 1 2 = 2
2 s(2) = 2 = 2 3 = 3
3 s(3) = 3 = 3 4 = 2^2
4 s(4) = 4 = 2^2 5 = 5
5 s(5) = 5 = 5 6 = 2 * 3
6 s(7) = 8 = 2^3 9 = 3^2
10 s(16) = 25 = 5^2 27 = 3^3
11 s(30) = 80 = 2^4 * 5 81 = 3^4
12 s(37) = 125 = 5^3 128 = 2^7
13 s(38) = 128 = 2^7 135 = 3^3 * 5
14 s(50) = 243 = 3^5 250 = 2 * 5^3
15 s(109) = 2025 = 3^4 * 5^2 2048 = 2^11
MATHEMATICA
nn = 2^10; s = Union@ Flatten@ Table[2^a * 3^b * 5^c, {a, 0, nn}, {b, 0, Log[3, nn/2^a]}, {c, 0, Log[5, nn/(2^a*3^b)] } ]; Select[Partition[s, 2, 1], CoprimeQ @@ # &][[;; , 1]]
PROG
(Python) # uses code in A051037
from math import gcd
from itertools import islice, pairwise
def agen(): yield from (a for a, b in pairwise(A051037gen()) if gcd(a, b) == 1)
print(list(islice(agen(), 34))) # Michael S. Branicky, Feb 22 2026
CROSSREFS
KEYWORD
nonn
AUTHOR
Michael De Vlieger, Feb 22 2026
STATUS
approved
