The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A175408 a(n) + a(n - 1) is alternatively a cube or a square. 0
1, 7, 2, 6, 3, 5, 4, 4, 5, 3, 1, 7, 2, 6, 3, 5, 4, 4, 5, 3, 1, 7, 2, 6, 3, 5, 4, 4, 5, 3, 1, 7, 2, 6, 3, 5, 4, 4, 5, 3, 1, 7, 2, 6, 3, 5, 4, 4, 5, 3, 1, 7, 2, 6, 3, 5, 4, 4, 5, 3, 1, 7, 2, 6, 3, 5, 4, 4, 5, 3, 1, 7, 2, 6, 3, 5, 4, 4, 5, 3, 1, 7, 2, 6, 3, 5, 4, 4, 5, 3, 1, 7, 2, 6, 3, 5, 4, 4, 5, 3, 1, 7, 2, 6, 3 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
a(1)=1, then a(2n) = (the least cube > a(2n-1)) - a(2n-1), and a(2n+1) = (the least square > a(2n)) - a(2n).
Period of length 10: {7,2,6,3,5,4,4,5,3,1}.
LINKS
FORMULA
a(1)=1, afterwards a(n)=A130532(n+7).
MATHEMATICA
LinearRecurrence[{0, 0, 0, 0, 0, 0, 0, 0, 0, 1}, {1, 7, 2, 6, 3, 5, 4, 4, 5, 3}, 120] (* or *) PadRight[ {}, 120, {1, 7, 2, 6, 3, 5, 4, 4, 5, 3}] (* Harvey P. Dale, Jul 05 2022 *)
CROSSREFS
Cf. A130532.
Sequence in context: A128475 A309647 A225444 * A019934 A295874 A182548
KEYWORD
nonn
AUTHOR
Zak Seidov, May 03 2010
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 May 22 13:22 EDT 2024. Contains 372755 sequences. (Running on oeis4.)