|
Search: id:A076311
|
|
|
| A076311 |
|
floor(n/10) - 5*(n mod 10). |
|
+0 8
|
|
| 0, -5, -10, -15, -20, -25, -30, -35, -40, -45, 1, -4, -9, -14, -19, -24, -29, -34, -39, -44, 2, -3, -8, -13, -18, -23, -28, -33, -38, -43, 3, -2, -7, -12, -17, -22, -27, -32, -37, -42, 4, -1, -6, -11, -16, -21, -26, -31, -36, -41, 5, 0, -5, -10, -15, -20, -25, -30, -35
(list; graph; listen)
|
|
|
OFFSET
|
0,2
|
|
|
COMMENT
|
(n==0 modulo 17) iff (a(n)==0 modulo 17); applied recursivly, this property provides a divisibility test for numbers given in base 10 notation.
|
|
REFERENCES
|
Karl Menninger, Rechenkniffe, Vandenhoeck & Ruprecht in Goettingen (1961), 79A.
|
|
EXAMPLE
|
12808 is not a multiple of 17, as 12808 -> 1280-5*8=1240 -> 124-5*0=124 -> 12-5*4=-8=17*(-1)+9, therefore the answer is NO;
is 9248 divisible by 17? 9248 -> 924-5*8=884 -> 88-5*4=68=17*4, therefore the answer is YES.
|
|
CROSSREFS
|
Cf. A008599, A076309, A076310, A076312.
Sequence in context: A115772 A044890 A007845 this_sequence A063284 A092454 A008587
Adjacent sequences: A076308 A076309 A076310 this_sequence A076312 A076313 A076314
|
|
KEYWORD
|
sign
|
|
AUTHOR
|
Reinhard Zumkeller (reinhard.zumkeller(AT)lhsystems.com), Oct 06 2002
|
|
|
Search completed in 0.002 seconds
|