login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A354266 Pairs of integers (s, t) such that 0 < s < t and gcd(s, t) > 1, where the pairs are generated by the boustrophedonic Cantor enumeration A319571. 1
2, 4, 2, 6, 3, 6, 2, 8, 4, 6, 2, 10, 3, 9, 4, 8, 2, 12, 4, 10, 6, 8, 3, 12, 5, 10, 6, 9, 2, 14, 4, 12, 6, 10, 2, 16, 3, 15, 4, 14, 6, 12, 8, 10, 2, 18, 4, 16, 5, 15, 6, 14, 8, 12, 3, 18, 6, 15, 7, 14, 9, 12, 2, 20, 4, 18, 6, 16, 8, 14, 10, 12, 2, 22, 3, 21 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
The sequence of pairs starts:
(2, 4), (2, 6), (3, 6), (2, 8), (4, 6), (2, 10), (3, 9), (4, 8), (2, 12), (4, 10),(6, 8), (3, 12), (5, 10), (6, 9), (2, 14), (4, 12), (6, 10), (2, 16), (3, 15),(4, 14), (6, 12), (8, 10), ...
PROG
(Julia)
function A354266List(upto)
L = Int[]
for n in 1:upto
d = div(isqrt(8n + 1) - 1, 2)
s = n - div(d*(d + 1), 2)
t = d - s
if s > 0 && s < t && gcd(s, t) > 1
push!(L, s)
push!(L, t)
end
end
L end
println(A354266List(303))
CROSSREFS
Cf. A319571.
Sequence in context: A230436 A105393 A182812 * A360005 A360457 A328985
KEYWORD
nonn
AUTHOR
Peter Luschny, May 21 2022
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 6 06:32 EDT 2024. Contains 375704 sequences. (Running on oeis4.)