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!)
A337223 a(n) is the least number that can be obtained by replacing some cube XXX in the binary expansion of n by X. 3
0, 1, 2, 3, 4, 5, 6, 1, 2, 9, 10, 11, 12, 13, 2, 3, 4, 5, 18, 19, 20, 21, 22, 5, 6, 25, 26, 27, 4, 5, 6, 7, 8, 9, 10, 11, 36, 37, 38, 9, 10, 41, 2, 43, 44, 45, 10, 11, 12, 13, 50, 51, 52, 53, 54, 13, 8, 9, 10, 11, 12, 13, 14, 3, 4, 17, 18, 19, 20, 21, 22, 17 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
Leading zeros in binary expansions are ignored.
Fixed points correspond to A286262.
LINKS
FORMULA
a(A297405(n)) = n for any n > 0.
EXAMPLE
The first terms, in decimal and in binary, are:
n a(n) bin(n) bin(a(n))
-- ---- ------ ---------
0 0 0 0
1 1 1 1
2 2 10 10
3 3 11 11
4 4 100 100
5 5 101 101
6 6 110 110
7 1 111 1
8 2 1000 10
9 9 1001 1001
10 10 1010 1010
11 11 1011 1011
12 12 1100 1100
13 13 1101 1101
14 2 1110 10
15 3 1111 11
16 4 10000 100
PROG
(PARI) See Links section.
CROSSREFS
Sequence in context: A033927 A104414 A279049 * A125934 A125935 A327241
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, Aug 19 2020
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 16 15:04 EDT 2024. Contains 372554 sequences. (Running on oeis4.)