Problem 49808. Identify eban numbers
Program a function that will say if an input quantity is in this list:
2, 4, 6, 30, 32, 34, 36, 40, 42, 44, 46,…
A hint is that what is missing from any list quantity (in USA) is also missing from this writing (not including big writing on top and a tag), which was difficult to draft without it.
Solution Stats
Problem Comments
-
4 Comments
Show
1 older comment
GeeTwo
on 1 Aug 2022
How many times was this translated? Because the problem statement only vaguely resembles English; makes bad Chinese restaurant menus and Ikea manuals look good.
To start: What is a "list quantity", and what does being missing from that even mean?
GeeTwo
on 1 Aug 2022
Alright, I did look on www for this. Fail any quantity with an oralization containing most common symbol of Anglican oralizations.
ChrisR
on 9 Aug 2022
Haha (but not teehee)!
Rafael S.T. Vieira
on 20 Nov 2022
Chris was trying to write without the letter E. He wrote "list quantity" instead of a list of values, number list, or list of quantities. It seems clear to me despite not being grammatically correct. And this is a legit problem; A006933 at OEIS.org.
Solution Comments
Show comments
Problem Recent Solvers20
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!