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!)
A045532 Concatenate n with n-th prime. 14
12, 23, 35, 47, 511, 613, 717, 819, 923, 1029, 1131, 1237, 1341, 1443, 1547, 1653, 1759, 1861, 1967, 2071, 2173, 2279, 2383, 2489, 2597, 26101, 27103, 28107, 29109, 30113, 31127, 32131, 33137, 34139, 35149, 36151, 37157, 38163, 39167, 40173, 41179, 42181 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Triangular numbers are 1653, 32131, 79401, ... - Ali Adams, Feb 04 2020

The next such terms are 173340627863131 and 1454987833022905581. - Giovanni Resta, Feb 04 2020

LINKS

Reinhard Zumkeller, Table of n, a(n) for n = 1..10000

FORMULA

a(n) = n*10^(A004216(A000040(n))+1) + A000040(n). - Reinhard Zumkeller, Sep 03 2002

MATHEMATICA

Table[FromDigits[Join[IntegerDigits[n], IntegerDigits[Prime[n]]]], {n, 40}] (* Vincenzo Librandi, Apr 13 2019 *)

PROG

(Haskell)

a045532 n = read $ show n ++ show (a000040 n) :: Integer

-- Reinhard Zumkeller, Jul 08 2014

(Magma) [Seqint(Intseq(NthPrime(n)) cat Intseq(n)): n in [1..45]]; // Vincenzo Librandi, Apr 13 2019

(PARI) a(n) = eval(Str(n, prime(n))); \\ Michel Marcus, Apr 13 2019, simplified by M. F. Hasler, Feb 05 2020

(Python)

from sympy import prime

def a(n): return int(str(n) + str(prime(n)))

print([a(n) for n in range(1, 43)]) # Michael S. Branicky, Dec 23 2021

CROSSREFS

Cf. A000040, A075110.

Cf. A085451. [Reinhard Zumkeller, Jun 30 2010]

Sequence in context: A233032 A088997 A049852 * A255729 A341740 A190426

Adjacent sequences:  A045529 A045530 A045531 * A045533 A045534 A045535

KEYWORD

nonn,base

AUTHOR

Jeff Burch

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 October 7 08:05 EDT 2022. Contains 357270 sequences. (Running on oeis4.)