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!)
A342641 Numbers k such that A342640(k) = k. 4
0, 2, 6, 10, 14, 22, 30, 38, 42, 46, 54, 62, 78, 94, 110, 126, 142, 150, 158, 170, 174, 182, 190, 206, 222, 238, 254, 286, 310, 318, 350, 382, 414, 438, 446, 478, 510, 542, 558, 574, 606, 622, 638, 670, 682, 686, 702, 734, 750, 766, 798, 830, 862, 894, 926 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
All terms are even.
For any m >= 0:
- let s(m) be the unique finite set of nonnegative integers such that m = Sum_{e in s(m)} 2^e,
- this sequence contains the numbers k such that s(k) is the set of nonnegative integers that are not the sum of two nonnegative integers not in s(k).
LINKS
EXAMPLE
The first terms, alongside the corresponding sets, are:
n a(n) s(a(n))
-- ---- ---------------
1 0 {}
2 2 {1}
3 6 {1, 2}
4 10 {1, 3}
5 14 {1, 2, 3}
6 22 {1, 2, 4}
7 30 {1, 2, 3, 4}
8 38 {1, 2, 5}
9 42 {1, 3, 5}
10 46 {1, 2, 3, 5}
11 54 {1, 2, 4, 5}
12 62 {1, 2, 3, 4, 5}
13 78 {1, 2, 3, 6}
14 94 {1, 2, 3, 4, 6}
15 110 {1, 2, 3, 5, 6}
PROG
(PARI) is(n) = { my (v=0); for (x=0, 2*#binary(n), my (f=0); for (y=0, x, if (!bittest(n, y) && !bittest(n, x-y), f=1; break)); if (!f, v+=2^x)); return (v==n) }
CROSSREFS
Sequence in context: A197930 A192109 A216090 * A118369 A226829 A236423
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, Mar 17 2021
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 11:56 EDT 2024. Contains 372686 sequences. (Running on oeis4.)