The first element is chosen as 1, then the rest of the sequence is determined by a simple rule.
What integer comes next?
Hint: there are two possible answers depending on how one defines a key word in the simple rule.
The title is also a hint.
1, 3, 5, 7, 9, 11, 14, 18, 22, __
The corresponding sequence in OEIS is not a sequence that counts vowels. It's a sequence that counts letters from the set {a,e,i,o,u} in the standard english spellings. There's no controversy since y and w are not in the set.
The description does not make this clear, but the program listed gives it away:
PROG
(Python)
from itertools import accumulate, repeat
from num2words import num2words
A321676_list = list(accumulate(repeat(1, 100), lambda x, _ : x+sum(num2words(x).count(d) for d in 'aeiou'))) #
Chai Wah Wu, Dec 17 2018
|
Posted by Jer
on 2025-04-15 10:45:08 |