Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
A166727
Positive integers with English names ending in "r".
6
4, 24, 34, 44, 54, 64, 74, 84, 94, 104, 124, 134, 144, 154, 164, 174, 184, 194, 204, 224, 234, 244, 254, 264, 274, 284, 294, 304, 324, 334, 344, 354, 364, 374, 384, 394, 404, 424, 434, 444, 454, 464, 474, 484, 494, 504, 524, 534, 544, 554, 564, 574, 584, 594
OFFSET
1,1
FORMULA
A017317 MINUS {n | n = 14 mod 100}.
a(n) = a(n-9) + 100, for n >= 10. - Michael S. Branicky, Apr 24 2021
EXAMPLE
Fifty-four (54) is a term; fourteen (14) is not a term (but is a term of A060228).
PROG
(Python)
def a(n): return (n-1)//9*100 + ((n-1)%9 + 1)*((n-1)%9 > 0)*10 + 4
print([a(n) for n in range(1, 55)]) # Michael S. Branicky, Apr 24 2021
KEYWORD
easy,nonn,word
AUTHOR
Rick L. Shepherd, Oct 20 2009
STATUS
approved