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

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A268723 Main diagonal of A268725: a(n) = A003188(A006068(n)^2), where A003188 is binary Gray code and A006068 is its inverse. 2
0, 1, 13, 6, 41, 54, 24, 21, 145, 166, 216, 253, 96, 121, 69, 86, 545, 582, 664, 749, 864, 841, 949, 1014, 384, 433, 477, 486, 793, 278, 344, 357, 2113, 2182, 2328, 2509, 2656, 2793, 2901, 2998, 3456, 3537, 3901, 3366, 3641, 3798, 4056, 3973, 1536, 1633, 1709, 1734, 1801, 1910, 1944, 2037, 3313, 3174, 1112, 1053 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
FORMULA
a(n) = A003188(A000290(A006068(n))).
PROG
(Scheme) (define (A268723 n) (A003188 (A000290 (A006068 n))))
(Python)
def A268723(n):
k, m = n, n>>1
while m > 0:
k ^= m
m >>= 1
return (a:=k**2)^ a>>1 # Chai Wah Wu, Jun 30 2022
CROSSREFS
Main diagonal of array A268725.
Sequence in context: A168210 A206612 A220131 * A300942 A160247 A300886
KEYWORD
nonn
AUTHOR
Antti Karttunen, Feb 13 2016
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | 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 5 21:36 EDT 2024. Contains 375700 sequences. (Running on oeis4.)