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!)
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

%I #9 Apr 04 2014 01:50:15

%S 1,2,4,6,10,8,14,18,12,16,26,22,34,28,20,28,44,38,56,48,36,46,24,32,

%T 52,40,58,70,42,50,80,64,84,68,92,104,140,122,98,82,122,110,152,132,

%U 108,86,132,116,74,54,86,62,114,96,136,112,76,104,162,146,206,176,212,180,228

%N 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).

%Y Cf. A005132, A079051, A000010, A079053.

%K nonn

%O 1,2

%A _Benoit Cloitre_, Feb 02 2003

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 25 21:09 EDT 2024. Contains 371989 sequences. (Running on oeis4.)