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!)
A232750 a(0)=1, after which a(n) = Number of terms of A005228 which occur between each consecutive terms of A232739, in range A232739(n)..A232739(n+1). 6
1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
0
COMMENTS
Does a term larger than 1 ever appear?
Positions of zeros: 2, 5, 8, 12, 16, 20, 25, 30, 36, 42, 48, 54, 61, 68, 76, 84, 92, 101, 110, 119, 128, ...
and their first differences: 3, 3, 4, 4, 4, 5, 5, 6, 6, 6, 6, 7, 7, 8, 8, 8, 9, 9, 9, 9, 10, 10, 11, 11, 11, 12, 11, 13, 12, 13, ...
might be also interesting.
LINKS
FORMULA
a(n) = A232746(A232739(n+1)) - A232746(A232739(n)).
EXAMPLE
The two sequences begin as:
A232739: 2, 4,6, 9, 13,17, 22, 28,34, 41, 49, 58,67, 77, ...
A005228: 1, 3, 7, 12, 18, 26, 35, 45, 56, 69, 83, ...
We let a(0)=1 stand for the number of terms of A005228 that are before the first term of A232739, namely that 1 which is less than 2, and thereafter we count the terms of A005228 that occur between each two consecutive terms of A232739, noting that 3 in the latter occurs between 2 and 4 in the former, thus a(1)=1, no terms in the latter occur between 4 and 6 in the former, thus a(2)=0, 7 in the latter occurs between 6 and 9 in the former, thus a(3)=1, and so on. See also the example in A232740.
PROG
(Scheme)
(define (A232750 n) (if (zero? n) 1 (- (A232746 (A232739 (+ n 1))) (A232746 (A232739 n)))))
CROSSREFS
Sequence in context: A014768 A015527 A276395 * A080764 A291137 A285421
KEYWORD
nonn
AUTHOR
Antti Karttunen, Dec 04 2013
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 April 19 19:02 EDT 2024. Contains 371798 sequences. (Running on oeis4.)