The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A297154 Balanced ternary representation of A083254(n), 2*phi(n)-n. 3
1, 0, 1, 0, 3, 7, 17, 0, 3, 7, 9, 8, 14, 7, 1, 0, 51, 21, 47, 8, 3, 7, 48, 19, 51, 7, 9, 8, 27, 67, 32, 0, 16, 7, 13, 24, 38, 7, 9, 19, 39, 63, 161, 8, 3, 7, 153, 68, 38, 20, 13, 8, 141, 63, 34, 19, 51, 7, 138, 56, 152, 7, 9, 0, 31, 55, 149, 8, 46, 71, 105, 57, 101, 7, 17, 8, 160, 60, 89, 68, 27, 7, 81, 72, 160, 7 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,5
LINKS
FORMULA
If A083254(n) >= 0, then a(n) = A117967(A083254(n)), otherwise a(n) = A117968(-A083254(n)).
For all n >= 1, A117966(a(n)) = A083254(n).
PROG
(Scheme) (define (A297154 n) (let ((x (A083254 n))) (if (>= x 0) (A117967 x) (A117968 (- x)))))
CROSSREFS
Cf. also A297153, A295882.
Sequence in context: A000963 A364646 A133593 * A305348 A191147 A227211
KEYWORD
nonn
AUTHOR
Antti Karttunen, Dec 26 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 May 20 14:08 EDT 2024. Contains 372717 sequences. (Running on oeis4.)