Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Revision History for A333441

(Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing all changes.
Numbers where each binary digit can be paired with a digit of the same value at another position so that two pairs can be nested but cannot otherwise overlap.
(history; published version)
#8 by Peter Luschny at Sun Mar 07 05:53:30 EST 2021
STATUS

proposed

approved

#7 by Rémy Sigrist at Sun Mar 07 05:05:29 EST 2021
STATUS

editing

proposed

#6 by Rémy Sigrist at Sun Mar 07 05:05:06 EST 2021
LINKS

Rémy Sigrist, <a href="/A333441/b333441.txt">Table of n, a(n) for n = 1..8789</a> (terms < 2^16)

STATUS

approved

editing

Discussion
Sun Mar 07
05:05
Rémy Sigrist: added b-file
#5 by Susanna Cuyler at Thu Mar 26 09:57:39 EDT 2020
STATUS

proposed

approved

#4 by Rémy Sigrist at Thu Mar 26 02:31:49 EDT 2020
STATUS

editing

proposed

#3 by Rémy Sigrist at Sat Mar 21 10:57:05 EDT 2020
COMMENTS

The term 0 is included by convention (we consider here that it has no digit).

Every term belong to A059012.

This sequence has connections with A014486; in both sequences digits are balanced in some way.

EXAMPLE

The first terms, alongside their binary representation with a possible pairing, are:

n a(n) bin(a(n))

-- ---- ------------

1 0 0

2 3 (11)

3 9 (1(00)1)

4 12 (11)(00)

5 15 (11)(11)

6 33 (1(00)(00)1)

7 36 (1(00)1)(00)

8 39 (1(00)1)(11)

9 45 (1(0(11)0)1)

10 48 (11)(00)(00)

11 51 (11)(00)(11)

12 54 (11)(0(11)0)

13 57 (11)(1(00)1)

14 60 (11)(11)(00)

15 63 (11)(11)(11)

CROSSREFS
#2 by Rémy Sigrist at Sat Mar 21 10:51:42 EDT 2020
NAME

allocated for Rémy Sigrist

Numbers where each binary digit can be paired with a digit of the same value at another position so that two pairs can be nested but cannot otherwise overlap.

DATA

0, 3, 9, 12, 15, 33, 36, 39, 45, 48, 51, 54, 57, 60, 63, 129, 132, 135, 141, 144, 147, 150, 153, 156, 159, 165, 177, 180, 183, 189, 192, 195, 198, 201, 204, 207, 210, 216, 219, 222, 225, 228, 231, 237, 240, 243, 246, 249, 252, 255, 513, 516, 519, 525, 528, 531

OFFSET

1,2

COMMENTS

This sequence is a binary variant of A333440.

PROG

(PARI) is(n, base=2) = { my (u=0, s=0); while (n, my (d=n%base); if (u && s%base==d, u--; s\=base, u++; s=s*base+d); n\=base); u==0 }

CROSSREFS

Cf. A333440.

KEYWORD

allocated

nonn,base

AUTHOR

Rémy Sigrist, Mar 21 2020

STATUS

approved

editing

#1 by Rémy Sigrist at Sat Mar 21 10:51:42 EDT 2020
NAME

allocated for Rémy Sigrist

KEYWORD

allocated

STATUS

approved