Search found 1 match

by j123
Tue Jul 20, 2021 4:07 am
Forum: Number
Topic: sum of squared Beatty sequence
Replies: 1
Views: 85

Re: sum of squared Beatty sequence

It is possible, in fact there is a Project Euler problem that boils down to doing something of the sort you are asking about, so I'm loathe to provide a complete solution here. Most solutions in its thread use a generalization of the the recursion you've implemented, but there's another way too. The...