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!)
A239692 Base 6 sum of digits of prime(n). 4
2, 3, 5, 2, 6, 3, 7, 4, 8, 9, 6, 2, 6, 3, 7, 8, 9, 6, 7, 11, 3, 4, 8, 9, 7, 11, 8, 12, 4, 8, 7, 11, 12, 9, 9, 6, 7, 8, 12, 13, 14, 6, 11, 8, 12, 9, 11, 3, 7, 4, 8, 9, 6, 11, 7, 8, 9, 6, 7, 11, 8, 8, 7, 11, 8, 12, 6, 7, 12, 9, 13, 14, 7, 8, 9, 13, 14, 7, 11, 9 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
a(n) is the rank of prime(n) in the base-6 dominance order on the natural numbers.
LINKS
Tyler Ball and Daniel Juda, Dominance over N, Rose-Hulman Undergraduate Mathematics Journal, Vol. 13, No. 2, Fall 2013.
FORMULA
a(n) = A053827(A000040(n)).
EXAMPLE
The sixth prime is 13, 13 in base 6 is (2,1) so a(6)=2+1=3.
MATHEMATICA
Table[Plus @@ IntegerDigits[Prime[n], 6], {n, 1, 100}] (* Vincenzo Librandi, Mar 25 2014 *)
PROG
(Sage) [sum(i.digits(base=6)) for i in primes_first_n(200)]
(Magma) [&+Intseq(NthPrime(n), 6): n in [1..100]]; // Vincenzo Librandi, Mar 25 2014
(PARI) a(n) = sumdigits(prime(n), 6); \\ Michel Marcus, Mar 04 2023
CROSSREFS
Sequence in context: A093870 A250445 A297996 * A126833 A138512 A053723
KEYWORD
nonn,base
AUTHOR
Tom Edgar, Mar 24 2014
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 25 06:49 EDT 2024. Contains 371964 sequences. (Running on oeis4.)