login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A227742
Fixed points of permutation A227741.
3
1, 4, 8, 12, 16, 23, 28, 32, 36, 43, 51, 59, 64, 71, 76, 80, 84, 91, 99, 107, 115, 126, 135, 143, 148, 155, 163, 171, 176, 183, 188, 192, 196, 203, 211, 219, 227, 238, 247, 255, 263, 274, 286, 298, 307, 318, 327, 335, 340, 347, 355, 363, 371, 382, 391, 399, 404
OFFSET
1,2
LINKS
FORMULA
a(n) = A173318(2*(n-1)) + (1/2)*(1 + A005811((2n)-1)).
PROG
(Scheme) (define (A227742 n) (+ (A173318 (* 2 (- n 1))) (/ (+ 1 (A005811 (- (* 2 n) 1))) 2)))
CROSSREFS
Sequence in context: A311387 A311388 A311389 * A257791 A034032 A311390
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jul 25 2013
STATUS
approved