

A140058


Numbers > 24 that are congruent to {5,6,7,8,9} mod 10.


0



25, 26, 27, 28, 29, 35, 36, 37, 38, 39, 45, 46, 47, 48, 49, 55, 56, 57, 58, 59, 65, 66, 67, 68, 69, 75, 76, 77, 78, 79, 85, 86, 87, 88, 89, 95, 96, 97, 98, 99, 105, 106, 107, 108, 109, 115, 116, 117, 118, 119, 125, 126, 127, 128, 129, 135, 136, 137, 138, 139, 145, 146
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,1


COMMENTS

Amounts in cents of coins in denominations 1, 5 and 10 cents that must include change for a 25cent coin. Regarding currentlyminted US coins, note that the 25cent quarter is the only denomination for which a smaller denomination exists (the 10cent dime) which is not a divisor. As a result, an amount that may consist only of any number of dimes and up to four 1cent pennies does not guarantee change for a quarter.


LINKS

Table of n, a(n) for n=1..62.


FORMULA

a(n) = 10 + a(n5) for n >= 6.
From Chai Wah Wu, Jun 10 2016: (Start)
a(n) = a(n1) + a(n5)  a(n6) for n > 6.
G.f.: x*(19*x^5 + x^4 + x^3 + x^2 + x + 25)/(x^6  x^5  x + 1). (End)
a(n) = 25 + ((n1) mod 5) + 10*floor((n1)/5).  Wesley Ivan Hurt, Nov 03 2016


MATHEMATICA

Table[25 + Mod[n  1, 5] + 10*Floor[(n  1)/5], {n, 50}] (* Wesley Ivan Hurt, Nov 03 2016 *)


PROG

(PARI) is(n) = n > 24 && n % 10 > 4 \\ Felix FrÃ¶hlich, Nov 03 2016
(MAGMA) [n : n in [25..150]  n mod 10 in [5..9]]; // Vincenzo Librandi, Nov 04 2016


CROSSREFS

Cf. A130734.
Sequence in context: A135218 A133507 A046511 * A199992 A242221 A186538
Adjacent sequences: A140055 A140056 A140057 * A140059 A140060 A140061


KEYWORD

easy,nonn


AUTHOR

Rick L. Shepherd, May 05 2008


STATUS

approved



