login
Positive integers with English names ending in "r".
6

%I #7 Apr 24 2021 10:26:20

%S 4,24,34,44,54,64,74,84,94,104,124,134,144,154,164,174,184,194,204,

%T 224,234,244,254,264,274,284,294,304,324,334,344,354,364,374,384,394,

%U 404,424,434,444,454,464,474,484,494,504,524,534,544,554,564,574,584,594

%N Positive integers with English names ending in "r".

%F A017317 MINUS {n | n = 14 mod 100}.

%F a(n) = a(n-9) + 100, for n >= 10. - _Michael S. Branicky_, Apr 24 2021

%e Fifty-four (54) is a term; fourteen (14) is not a term (but is a term of A060228).

%o (Python)

%o def a(n): return (n-1)//9*100 + ((n-1)%9 + 1)*((n-1)%9 > 0)*10 + 4

%o print([a(n) for n in range(1, 55)]) # _Michael S. Branicky_, Apr 24 2021

%Y Cf. A017317, A166726, A166728, A166729, A166730, A166731, A059093, A060228.

%K easy,nonn,word

%O 1,1

%A _Rick L. Shepherd_, Oct 20 2009