login
The OEIS is supported by the many generous donors 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. 2
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; text; internal format)
OFFSET
0,3
LINKS
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: A328145 A096534 A322558 * A343376 A210945 A372112
KEYWORD
nonn
AUTHOR
Leroy Quet, Jun 01 2008
EXTENSIONS
More terms from Jasper Mulder (jasper.mulder(AT)planet.nl), Oct 12 2009
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 17:10 EDT 2024. Contains 371962 sequences. (Running on oeis4.)