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!)
A305379 Tribonacci representation of primes, written in base 2. 2
10, 11, 101, 1000, 1100, 10000, 10100, 10110, 11011, 100101, 101000, 110000, 110100, 110110, 1000011, 1001010, 1010010, 1010100, 1011011, 1100011, 1100101, 1101100, 10000010, 10001001, 10010011, 10011000, 10011010, 10100010, 10100100, 10101001, 11000010 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MAPLE
T:= proc(n) T(n):= (<<0|1|0>, <0|0|1>, <1|1|1>>^n)[2, 3] end:
b:= proc(n) option remember; local j;
if n=0 then 0
else for j from 2 while T(j+1)<=n do od;
b(n-T(j))+10^(j-2)
fi
end:
a:= n-> b(ithprime(n)):
seq(a(n), n=1..40); # Alois P. Heinz, Jun 13 2018
CROSSREFS
Equals A278038(prime(n)).
Sequence in context: A124387 A171796 A362917 * A004685 A361335 A171000
KEYWORD
nonn,base
AUTHOR
N. J. A. Sloane, Jun 12 2018
EXTENSIONS
More terms from Alois P. Heinz, Jun 13 2018
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 1 20:04 EDT 2024. Contains 372176 sequences. (Running on oeis4.)