User talk:Stevenliuyi

Welcome to Wikifunctions, Stevenliuyi!
Wikifunctions is an open repository of code functions that anyone can use and contribute to!
Do you need some help getting started? Here are some pages you can familiarize yourself with:
- Introduction – An introduction to the project.
- Community portal – The portal for community members.
- Contents – The main help page for editing and using the site.
- Glossary – Definitions of frequently used terms.
- FAQ – Frequently asked questions.
- Project chat – Discussions about the project.
Please remember to sign your messages on talk pages by typing four tildes (~~~~); this will automatically insert your username and the date.
If you have any questions, don't hesitate to ask on Project chat. Once again, welcome, and I hope you quickly feel comfortable here, and become an active contributor to Wikifunctions.
Best regards!
Hey @Stevenliuyi, Are you sure that is the right implementation and tests of hexadecci series? https://oeis.org/A001592 and other searching of the series and the A001592 that is also this mention that 8th hexadecci is 2, whilst that function says it's 4. Similar mismatch for 10th as well. ~/Bunnypranav:<ping> 10:37, 16 February 2025 (UTC)
- Hello, thanks for bringing this up. I figured out what's happening. The sequence actually starts at n=0. So if you count n=0 as the first number in the sequence, then n=8 is actually the ninth one. The function is consistent with the definition of a(n) in https://oeis.org/A001592, e.g. a(8) = 4 (see https://oeis.org/A001592/b001592.txt). I agree that this wasn't clear from the function, so I've updated the description to specify "starts from n=0" for clarity. Feel free to refine it further if needed. Stevenliuyi (talk) 12:25, 16 February 2025 (UTC)
- Ah, gotcha. Thanks for clarifying and fixing the desc! I was actually creating a python implementation, and was confused when the tests didn't pass. ~/Bunnypranav:<ping> 12:33, 16 February 2025 (UTC)