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!)
A269024 a(n) = A269020(n) - n. 0
0, 1, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
Same as subtracting the index (n) from the output (a(n)) in A269020.
LINKS
FORMULA
a(n) = either a(n-1) or a(n-1)+1.
When a(n) = a(n-1)+1, a(n) = A269023(a(n)) - n + 1.
EXAMPLE
a(20)=4 because A269020(20) = 24, and 24-20=4.
a(5)=2, a(6)=3 and A269023(3)=8, so a(6) = 8-6+1 = 3.
CROSSREFS
Sequence in context: A086673 A101787 A343607 * A244160 A064099 A134021
KEYWORD
nonn
AUTHOR
Bob Selcoe, Feb 18 2016
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 13 03:04 EDT 2024. Contains 372497 sequences. (Running on oeis4.)