OFFSET
1,2
COMMENTS
a(3)=149 is the only prime up to n=4000. - Daniel Arribas, Jun 04 2016
REFERENCES
S. Smarandoiu, Convergence of Smarandache continued fractions, Abstract 96T-11-195, Abstracts Amer. Math. Soc., Vol. 17, No. 4 (1996), p. 680.
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..225
Y. Guo and M. Le, Smarandache Concatenated Power Decimals and Their Irrationality, Smarandache Notions Journal, Vol. 9, No. 1-2 (1998), pp. 100-102.
F. Smarandache, Collected Papers, Vol. II.
Eric Weisstein's World of Mathematics, Consecutive Number Sequences.
MAPLE
a:= proc(n) a(n):= `if`(n=1, 1, parse(cat(a(n-1), n^2))) end:
seq(a(n), n=1..20); # Alois P. Heinz, Jan 13 2021
PROG
(Haskell)
a019521 n = a019521_list !! (n-1)
a019521_list = f "" $ tail a000290_list where
f xs (q:qs) = (read ys :: Integer) : f ys qs
where ys = xs ++ show q
-- Reinhard Zumkeller, Mar 01 2014
(Python)
def a(n): return int("".join(str(i*i) for i in range(1, n+1)))
print([a(n) for n in range(1, 16)]) # Michael S. Branicky, Jan 14 2021
CROSSREFS
KEYWORD
base,nonn
AUTHOR
R. Muller
STATUS
approved