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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A079052 Recamán variation: a(1) = 1; for n > 1, a(n) = a(n-1)-f(n) if that number is positive and not already in the sequence, otherwise a(n) = a(n-1)+f(n), where f(n)=phi(n) (cf. A000010). 0
1, 2, 4, 6, 10, 8, 14, 18, 12, 16, 26, 22, 34, 28, 20, 28, 44, 38, 56, 48, 36, 46, 24, 32, 52, 40, 58, 70, 42, 50, 80, 64, 84, 68, 92, 104, 140, 122, 98, 82, 122, 110, 152, 132, 108, 86, 132, 116, 74, 54, 86, 62, 114, 96, 136, 112, 76, 104, 162, 146, 206, 176, 212, 180, 228 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Table of n, a(n) for n=1..65.

CROSSREFS

Cf. A005132, A079051, A000010, A079053.

Sequence in context: A242521 A073659 A073661 * A243502 A275632 A269360

Adjacent sequences:  A079049 A079050 A079051 * A079053 A079054 A079055

KEYWORD

nonn

AUTHOR

Benoit Cloitre, Feb 02 2003

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 | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified November 15 19:54 EST 2018. Contains 317240 sequences. (Running on oeis4.)