login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 


A038394
Concatenate first n primes in reverse order.
5
2, 32, 532, 7532, 117532, 13117532, 1713117532, 191713117532, 23191713117532, 2923191713117532, 312923191713117532, 37312923191713117532, 4137312923191713117532, 434137312923191713117532, 47434137312923191713117532, 5347434137312923191713117532
OFFSET
1,1
REFERENCES
F. Smarandache, Sequences of Numbers Involved in Unsolved Problems, Hexis, Phoenix, 2006.
MATHEMATICA
Join[{s = 2}, Table[s = FromDigits[Flatten[IntegerDigits[{Prime[n], s}]]], {n, 2, 13}]] (* Jayanta Basu, Jul 14 2013 *)
PROG
(Haskell)
a038394 n = a038394_list !! (n-1)
a038394_list = f "" a000040_list where
f xs (q:qs) = (read ys :: Integer) : f ys qs
where ys = show q ++ xs
-- Reinhard Zumkeller, Mar 03 2014
(PARI) a(n) = fromdigits(concat([digits(p) | p<-Vecrev(primes(n))])); \\ Andrew Howroyd, Aug 29 2020
CROSSREFS
KEYWORD
nonn,base
AUTHOR
M. I. Petrescu (mipetrescu(AT)yahoo.com)
EXTENSIONS
Offset corrected by Reinhard Zumkeller, Mar 03 2014
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | 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 September 20 17:08 EDT 2024. Contains 376075 sequences. (Running on oeis4.)