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!)
A286541 Compound filter (the left & right summand of Hofstadter-Conway $10000 sequence): a(n) = P(A004001(A004001(n-1)), A004001(n-A004001(n-1))), where P(n,k) is sequence A000027 used as a pairing function, with a(1) = a(2) = 0. 4
0, 0, 1, 1, 2, 5, 5, 5, 8, 13, 19, 19, 25, 25, 25, 25, 32, 41, 51, 62, 62, 73, 86, 86, 99, 99, 99, 113, 113, 113, 113, 113, 128, 145, 163, 182, 202, 202, 222, 244, 267, 267, 290, 315, 315, 340, 340, 340, 366, 394, 394, 422, 422, 422, 451, 451, 451, 451, 481, 481, 481, 481, 481, 481, 512, 545, 579, 614, 650, 687, 687, 724, 763, 803, 844, 844, 885, 928, 972, 972 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,5
LINKS
Eric Weisstein's World of Mathematics, Pairing Function
FORMULA
a(1) = a(2) = 0, for n > 2, a(n) = (1/2)*(2 + ((A004001(A004001(n-1))+A004001(n-A004001(n-1)))^2) - A004001(A004001(n-1)) - 3*A004001(n-A004001(n-1))).
PROG
(Scheme) (define (A286541 n) (if (<= n 2) 0 (* (/ 1 2) (+ (expt (+ (A004001 (A004001 (- n 1))) (A004001 (- n (A004001 (- n 1))))) 2) (- (A004001 (A004001 (- n 1)))) (- (* 3 (A004001 (- n (A004001 (- n 1)))))) 2))))
CROSSREFS
Sequence in context: A235452 A171438 A200683 * A078576 A256302 A205396
KEYWORD
nonn
AUTHOR
Antti Karttunen, May 18 2017
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 April 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)