- Joined
- Sep 20, 2022
- Messages
- 269
- Reaction score
- 40
When I have an integer sequence and I don't have a formula, I generate the first few terms by brute force, put them into the online encyclopedia of integer sequences, and that usually gives me a formula.
But there are two other situations where that doesn't help.
(1) I have a few numbers, they are not a sequence, but they might have some unusual mathematical property in common.
If there existed an online encyclopedia of integer sets, that would be ideal.
(2) I have a few numbers that map to other numbers, I suspect there is a simple function, but I just can't see it.
Has anyone found a web site that can handle this type of query?
But there are two other situations where that doesn't help.
(1) I have a few numbers, they are not a sequence, but they might have some unusual mathematical property in common.
If there existed an online encyclopedia of integer sets, that would be ideal.
(2) I have a few numbers that map to other numbers, I suspect there is a simple function, but I just can't see it.
Code:
for example
f(28)=3
f(75)=6
f(132)=8
f(217)=10