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!)
A261467 Where records occur in A261461. 5
0, 1, 2, 6, 12, 44, 92, 184, 1208, 1256, 4792, 9912, 19832, 39664, 563952, 576464, 4496112, 4499184, 17996528, 17997488, 143972080, 145057520, 145070832, 294967024, 589944560, 1179889136, 2359778272, 71079255008, 72019201952 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
A261461(a(n)) = A261466(n).
LINKS
Rémy Sigrist, C program
PROG
(Haskell)
a261467 n = a261467_list !! (n-1)
-- where a261467_list is defined in A261466.
(C) See Links section.
(Python)
from itertools import count, islice
def f(n):
b, k = bin(n)[2:], 1
return next(k for k in count(1) if bin(k)[2:] not in b)
def agen(record=-1):
yield from (((record:=f(k)), k)[1] for k in count(0) if f(k) > record)
print(list(islice(agen(), 18))) # Michael S. Branicky, Feb 26 2023
CROSSREFS
Sequence in context: A344184 A164859 A332868 * A180070 A177834 A169858
KEYWORD
nonn,more,base
AUTHOR
Reinhard Zumkeller, Aug 30 2015
EXTENSIONS
Leading zero and more terms from Rémy Sigrist, Mar 10 2018
a(26)-a(29) from Rémy Sigrist, Feb 26 2023
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 March 19 01:34 EDT 2024. Contains 370952 sequences. (Running on oeis4.)