login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A076312 floor(n/10) + 2*(n mod 10). 6
0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 7, 9, 11, 13, 15, 17, 19, 21 (list; graph; refs; listen; history; internal format)
OFFSET

0,2

COMMENTS

(n==0 modulo 19) iff (a(n)==0 modulo 19); 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.

FORMULA

G.f.: -x(17x^9-2-2x-2x^2-2x^3-2x^4-2x^5-2x^6-2x^7-2x^8)/((1-x)^2(1+x)(x^4+x^3+x^2+x+1)(x^4-x^3+x^2-x+1)). a(n)=A059995(n)+2*A010879(n). [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Jan 24 2009]

EXAMPLE

26468 is not a multiple of 19, as 26468 -> 2646+2*8=2662 -> 266+2*2=270 -> 27+2*0=27=19*1+8, therefore the answer is NO;

is 12882 divisible by 19? 12882 -> 1288+2*2=1292 -> 129+2*2=133 -> 13+2*3=19, therefore the answer is YES.

CROSSREFS

Cf. A008601, A076309, A076310, A076311.

Sequence in context: A076309 A088133 A115299 * A061762 A136614 A097586

Adjacent sequences:  A076309 A076310 A076311 * A076313 A076314 A076315

KEYWORD

nonn

AUTHOR

Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Oct 06 2002

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 18 00:14 EST 2012. Contains 206085 sequences.