The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A059995 Drop final digit of n. 19
 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 10, 10, 10 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,21 LINKS Harry J. Smith, Table of n, a(n) for n = 0..1000 Index entries for linear recurrences with constant coefficients, signature (1,0,0,0,0,0,0,0,0,1,-1). FORMULA a(n) = a(n-10) + 1 = floor(n/10) = (n - A010879(n))/10. G.f.: x^10/((1-x)(1-x^10)). Partial sums are given by A131242. - Hieronymus Fischer, Jun 21 2007 MATHEMATICA Table[FromDigits[Most[IntegerDigits[n]]], {n, 0, 110}] (* Harvey P. Dale, Sep 09 2016 *) PROG (PARI) a(n)=if(n<0, 0, n\10) (PARI) { for (n=0, 1000, write("b059995.txt", n, " ", n\10); ) } \\ Harry J. Smith, Jul 01 2009 (Sage) [floor(n/5)-floor(n/10) for n in range(-5, 98)] # Zerinvary Lajos, Dec 02 2009 CROSSREFS Cf. A004526, A054899. Sequence in context: A133880 A226233 A329624 * A132272 A179051 A324160 Adjacent sequences:  A059992 A059993 A059994 * A059996 A059997 A059998 KEYWORD base,easy,nonn AUTHOR Henry Bottomley, Mar 12 2001 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified September 24 21:35 EDT 2020. Contains 337322 sequences. (Running on oeis4.)