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!)
A372452 Number of terms of A086893 in the interval [A372444(n), A372444(1+n)]. 2
2, 6, 10, 21, 41, 80, 162, 324, 646, 1294, 2586, 5173, 10345, 20691, 41381, 82760, 165522, 331044, 662089, 1324177, 2648353, 5296707, 10593413, 21186827, 42373652, 84747305, 169494609, 338989216, 677978435, 1355956869, 2711913736, 5423827472, 10847654948, 21695309896, 43390619791, 86781239586, 173562479173, 347124958344 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
COMMENTS
The formula involving A372451 and A372453 shows that each term is at most +-1 from the corresponding term of A372451, that are the first differences of A372449.
LINKS
FORMULA
a(n) = A372286(A372444(n)).
a(n) = A372451(n) + [A372453(n)<=0] - [A372453(1+n)<0], where [ ] is the Iverson bracket, yielding 1 or 0 depending on whether the given inequivalence holds or does not hold.
EXAMPLE
Between A372444(0)=27 and A372444(1)=165 there are two terms (53 and 85) of A086893, therefore a(0) = 2.
Between A372444(1)=165 and A372444(2)=8021 there are six terms (213, 341, 853, 1365, 3413, 5461) of A086893, therefore a(1) = 6.
Between A372444(2)=8021 and A372444(3)=12408149 there are 10 terms (13653, 21845, 54613, 87381, 218453, 349525, 873813, 1398101, 3495253, 5592405) of A086893, therefore a(2) = 10.
PROG
(PARI) A372452(n) = A372451(n)+(A372453(n)<=0)-(A372453(1+n)<0); \\ Uses also code from A372451 and A372453.
CROSSREFS
Column 14 of A372285.
Sequence in context: A272952 A034450 A297185 * A304991 A112861 A180230
KEYWORD
nonn,new
AUTHOR
Antti Karttunen, May 05 2024
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 19 03:29 EDT 2024. Contains 372666 sequences. (Running on oeis4.)