login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 


A306994
Lexicographically earliest sequence of distinct positive terms such that the sum of two consecutive terms is digitally balanced.
2
1, 8, 2, 7, 3, 6, 4, 5, 30, 11, 24, 13, 22, 15, 20, 17, 18, 19, 16, 21, 14, 23, 12, 25, 10, 27, 29, 9, 26, 109, 32, 103, 36, 99, 40, 95, 44, 91, 48, 87, 52, 83, 56, 79, 60, 75, 64, 71, 68, 67, 72, 63, 76, 59, 80, 55, 84, 51, 88, 47, 92, 43, 96, 39, 100, 35
OFFSET
1,2
COMMENTS
Digitally balanced numbers correspond to A031443.
LINKS
EXAMPLE
The first terms, alongside the binary representation of a(n) + a(n+1), are:
n a(n) bin(a(n)+a(n+1))
-- ---- ----------------
1 1 1001
2 8 1010
3 2 1001
4 7 1010
5 3 1001
6 6 1010
7 4 1001
8 5 100011
9 30 101001
10 11 100011
11 24 100101
12 13 100011
13 22 100101
14 15 100011
15 20 100101
16 17 100011
PROG
(PARI) See Links section.
CROSSREFS
See A306992 for the multiplicative variant.
Cf. A031443.
Sequence in context: A244686 A367479 A317386 * A152179 A306339 A132716
KEYWORD
nonn,look,base
AUTHOR
Rémy Sigrist, Mar 18 2019
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | 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 September 21 11:40 EDT 2024. Contains 376084 sequences. (Running on oeis4.)