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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A139047 a(0)=a(1)=1. For n >= 2, if a(n-1) is coprime to n, then a(n) = a(n-1)+a(n-2). Otherwise, a(n)=1. 1
1, 1, 2, 3, 5, 1, 6, 7, 13, 20, 1, 21, 1, 22, 1, 23, 24, 47, 71, 118, 1, 119, 120, 239, 359, 598, 1, 599, 600, 1199, 1799, 2998, 1, 2999, 3000, 1, 3001, 3002, 1, 3003, 3004, 6007, 9011, 15018, 1, 15019, 1, 15020, 1, 15021, 15022, 30043, 1, 30044, 1, 30045, 30046, 60091 (list; graph; refs; listen; history; internal format)
OFFSET

0,3

LINKS

Jasper Mulder, Table of n, a(n) for n=0..12500

EXAMPLE

16 is coprime to a(15) = 23, so a(16) = a(15)+a(14) = 23+1 = 24. 20 is not coprime to a(19) = 118, so a(20)=1.

CROSSREFS

Sequence in context: A128047 A105870 A096534 * A191795 A121053 A191308

Adjacent sequences:  A139044 A139045 A139046 * A139048 A139049 A139050

KEYWORD

nonn

AUTHOR

Leroy Quet Jun 01 2008

EXTENSIONS

More terms from Jasper Mulder (jasper.mulder(AT)planet.nl), Oct 12 2009

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 14 18:47 EST 2012. Contains 205663 sequences.