cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

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

This page as a plain text file.
%I A079052 #9 Apr 04 2014 01:50:15
%S A079052 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 A079052 52,40,58,70,42,50,80,64,84,68,92,104,140,122,98,82,122,110,152,132,
%U A079052 108,86,132,116,74,54,86,62,114,96,136,112,76,104,162,146,206,176,212,180,228
%N 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).
%Y A079052 Cf. A005132, A079051, A000010, A079053.
%K A079052 nonn
%O A079052 1,2
%A A079052 _Benoit Cloitre_, Feb 02 2003