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!)
A276614 The infinite trunk of greedy cubes beanstalk with reversed subsections. 3

%I #10 Sep 10 2016 10:26:03

%S 0,7,26,21,14,63,59,52,47,40,33,124,115,110,103,96,89,84,77,70,215,

%T 208,201,194,187,183,176,171,164,157,150,145,138,131,342,339,330,318,

%U 311,304,299,292,285,278,274,267,262,255,248,241,236,229,222,511,506,499,492,487,480,473,466,457,445,438,431,426,419,412,405,401

%N The infinite trunk of greedy cubes beanstalk with reversed subsections.

%H Antti Karttunen, <a href="/A276614/b276614.txt">Table of n, a(n) for n = 0..10236</a>

%F a(0) = 0; a(1) = 7; for n > 1, if A261225(a(n-1))+1 is not a cube, then a(n) = A261225(a(n-1)), otherwise a(n) = A000578(2+A048766(A261225(a(n-1)))) - 1.

%o (Scheme)

%o (definec (A276614 n) (cond ((zero? n) n) ((= n 1) 7) (else (let ((maybe_next (A261225 (A276614 (- n 1))))) (if (zero? (A010057 (+ 1 maybe_next))) maybe_next (+ -1 (A000578 (+ 2 (A048766 (+ 1 maybe_next))))))))))

%Y Cf. A000578, A010057, A048766, A261225, A276612, A276613.

%K nonn

%O 0,2

%A _Antti Karttunen_, Sep 07 2016 and Sep 09 2016

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 28 14:15 EDT 2024. Contains 372087 sequences. (Running on oeis4.)