Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A147994
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A147994 Gray code base 4 applied to Hofstadter's(A005185 Hofstadter Q - sequence): a(n)=GrayCode[Hofstadter[n] - 1, 4]. +0
1
0, 0, 1, 3, 3, 2, 6, 6, 7, 7, 7, 4, 4, 4, 13, 12, 13, 15, 15, 14, 14, 14, 14, 8, 11, 11, 8, 8, 8, 8, 2, 0, 0, 2, 6, 3, 2, 7, 6, 7, 5, 5, 4, 4, 4, 4, 4, 8, 4, 12, 11, 14, 13, 11, 11, 14, 8, 11, 8, 8, 8, 8, 4, 0, 9, 7, 3, 0, 5, 4, 6, 7, 4, 5, 4, 5, 13, 4, 12, 15, 14, 15, 15, 11, 14, 10, 9, 9, 11, 8, 8 (list; graph; listen)
OFFSET

1,4

REFERENCES

http://mathworld.wolfram.com/notebooks/Combinatorics/GrayCode.nb.

FORMULA

a(n)=GrayCode[Hofstadter[n] - 1, 4].

MATHEMATICA

<< DiscreteMath`CombinatorialFunctions` (* rather than put in the whole code :needs GrayCode.nb *) Table[GrayCode[Hofstadter[n] - 1, 4], {n, 100}]

CROSSREFS

Sequence in context: A070163 A083343 A110898 this_sequence A106365 A086636 A115055

Adjacent sequences: A147991 A147992 A147993 this_sequence A147995 A147996 A147997

KEYWORD

nonn

AUTHOR

Roger L. Bagula and Gary W. Adamson (rlbagulatftn(AT)yahoo.com), Nov 18 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 25 14:49 EST 2009. Contains 167514 sequences.


AT&T Labs Research