login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A260855 Base-5 representation of a(n) is the concatenation of the base-5 representations of 1, 2, ..., n, n-1, ..., 1. 1
0, 1, 36, 961, 24336, 3034961, 1896581836, 1185364159961, 740852620019336, 463032888020409961, 289395555025471581836, 180872221891237629784961, 113045138682031465901269336, 70653211676269864870442284961, 44158257297668670511080159081836 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

COMMENTS

Base-5 variant of A173426 (base 10) and A173427 (base 2). See A260853 - A260866 for variants in other bases b = 3, ..., 16.

The base 5 is not listed in A260343, because a(5) = A260851(5) = 3034961 is not prime and therefore not in A260852. See these sequences for more information.

LINKS

Table of n, a(n) for n=0..14.

D. Broadhurst, Primes from concatenation: results and heuristics, NmbrThry List, August 1, 2015

EXAMPLE

a(0) = 0 is the result of the empty sum corresponding to 0 digits.

a(2) = 36 = (5+1)^2 = 5^2 + 2*5 + 1 = 121_4 is the concatenation of (1, 2, 1).

a(5) = 3034961 = 1234104321_5 is the concatenation of (1, 2, 3, 4, 10, 4, 3, 2, 1), where the middle "10" is the base-5 representation of 5.

PROG

(PARI) a(n, b=5)=sum(i=1, #n=concat(vector(n*2-1, k, digits(min(k, n*2-k), b))), n[i]*b^(#n-i))

CROSSREFS

Sequence in context: A218177 A107398 A053111 * A130563 A240685 A294162

Adjacent sequences:  A260852 A260853 A260854 * A260856 A260857 A260858

KEYWORD

nonn,base

AUTHOR

M. F. Hasler, Aug 01 2015

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 8 17:26 EDT 2021. Contains 343666 sequences. (Running on oeis4.)