Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A141439
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A141439 Positions at which disjoint pattern counts differ from overlapping pattern counts related to sequence A117127. +0
3
21, 22, 23, 45, 47, 55, 73, 85, 86, 90, 91, 95, 109, 110, 111, 119, 146, 170, 173, 181, 182, 187, 191, 219, 221, 223, 239, 247, 273, 307, 341, 342, 346, 362, 365, 375, 383, 409, 438, 443, 447, 477, 478, 479, 495, 503, 546, 585, 614, 660, 682, 685, 693, 725 (list; graph; listen)
OFFSET

1,1

LINKS

Diana Mecum, Table of n, a(n) for n = 1..131

EXAMPLE

When "n" = 21, the base two concatenated range of integers from 1 to 21 is "1101110010111011110001001101010111100110111101111100001000110010100111010010101". 21 in base two is "10101".

Note that there are two instances of "10101" in the concatenated number when disjoint patterns are considered. There are three pattern matches when overlapping patterns are considered.

MATHEMATICA

f[n_, k_] := StringCount[ ToString@ FromDigits@ Flatten@ IntegerDigits[ Range@n, 2], ToString@ FromDigits@ IntegerDigits[n, 2], Overlaps -> {True, False}[[k]]]; Select[ Range@ 725, f[ #, 1] != f[ #, 2] &] - Robert G. Wilson v (rgwv@rgwv.com), Aug 30 2008 *)

CROSSREFS

Cf. A117127.

Sequence in context: A056485 A056475 A004510 this_sequence A125737 A022391 A041890

Adjacent sequences: A141436 A141437 A141438 this_sequence A141440 A141441 A141442

KEYWORD

nonn

AUTHOR

Diana Mecum (diana.mecum(AT)gmail.com), Aug 06 2008

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 30 22:12 EST 2008. Contains 150989 sequences.


AT&T Labs Research