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!)
A353293 Irregular table T(n, k), n > 0, k = 1..A353292(n), read by rows: the n-th row contains in ascending order the distinct positive integers k <= n that have at least one common 1-bit with n. 3
1, 2, 1, 2, 3, 4, 1, 3, 4, 5, 2, 3, 4, 5, 6, 1, 2, 3, 4, 5, 6, 7, 8, 1, 3, 5, 7, 8, 9, 2, 3, 6, 7, 8, 9, 10, 1, 2, 3, 5, 6, 7, 8, 9, 10, 11, 4, 5, 6, 7, 8, 9, 10, 11, 12, 1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
See A352938 for the other k's.
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..7163 (rows for n = 1..128 flattened)
FORMULA
T(n, 1) = A006519(n).
T(n, A353292(n)) = n.
EXAMPLE
Irregular table T(n, k) begins:
1: [1]
2: [2]
3: [1, 2, 3]
4: [4]
5: [1, 3, 4, 5]
6: [2, 3, 4, 5, 6]
7: [1, 2, 3, 4, 5, 6, 7]
8: [8]
9: [1, 3, 5, 7, 8, 9]
10: [2, 3, 6, 7, 8, 9, 10]
11: [1, 2, 3, 5, 6, 7, 8, 9, 10, 11]
12: [4, 5, 6, 7, 8, 9, 10, 11, 12]
13: [1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13]
14: [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14]
15: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]
PROG
(PARI) row(n) = select (k -> bitand(n, k), [1..n])
CROSSREFS
Cf. A006519, A352938, A353292 (row lengths).
Sequence in context: A328472 A046653 A308897 * A162190 A349325 A134292
KEYWORD
nonn,tabf,look,base
AUTHOR
Rémy Sigrist, Apr 09 2022
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 26 00:57 EDT 2024. Contains 372806 sequences. (Running on oeis4.)