(Translated by https://www.hiragana.jp/)
The On-Line Encyclopedia of Integer Sequences (OEIS)
login

Revision History for A019300

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

Showing entries 1-10 | older changes
First n elements of Thue-Morse sequence A010060 read as a binary number.
(history; published version)
#26 by Joerg Arndt at Sat Sep 23 04:30:29 EDT 2023
STATUS

proposed

approved

#25 by Kevin Ryde at Sat Sep 23 04:24:49 EDT 2023
STATUS

editing

proposed

#24 by Kevin Ryde at Sat Sep 23 04:24:28 EDT 2023
CROSSREFS

Cf. A010060, A048707, A320916 (bit reversal).

KEYWORD

nonn,easy

STATUS

approved

editing

#23 by Charles R Greathouse IV at Sun May 08 23:42:25 EDT 2016
STATUS

editing

approved

#22 by Charles R Greathouse IV at Sun May 08 23:42:22 EDT 2016
PROG

(PARI) a(n)=sum(k=1, n, (hammingweight(k)%2)<<(n-k)) \\ Charles R Greathouse IV, May 08 2016

(PARI) first(n)=my(v=vector(n)); v[1]=1; for(k=2, n, v[k]=2*v[k-1]+hammingweight(k)%2); concat(0, v) \\ Charles R Greathouse IV, May 08 2016

STATUS

approved

editing

#21 by Harvey P. Dale at Wed Mar 25 11:25:37 EDT 2015
STATUS

editing

approved

#20 by Harvey P. Dale at Wed Mar 25 11:25:33 EDT 2015
MATHEMATICA

With[{tm=Nest[Flatten[#/.{0->{0, 1}, 1->{1, 0}}]&, {0}, 7]}, Table[ FromDigits[ Take[tm, n], 2], {n, 40}]] (* Harvey P. Dale, Mar 25 2015 *)

STATUS

approved

editing

#19 by N. J. A. Sloane at Tue May 20 14:54:16 EDT 2014
AUTHOR

Jonas Wallgren (jwc(AT)ida.liu.se)

Jonas Wallgren

Discussion
Tue May 20
14:54
OEIS Server: https://oeis.org/edit/global/2220
#18 by N. J. A. Sloane at Tue May 07 12:15:06 EDT 2013
STATUS

editing

approved

#17 by N. J. A. Sloane at Tue May 07 12:15:03 EDT 2013
EXTENSIONS

Terms 0 through 32 were computed by Jonas Wallgren, 33 through 3322 (highest number n for which a(n) is less than 1001 characters long) by Ariel S Koiman, May 7 2013

STATUS

approved

editing