login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A246972 (n+1)^2 concatenated with n^2. 5

%I

%S 10,41,94,169,2516,3625,4936,6449,8164,10081,121100,144121,169144,

%T 196169,225196,256225,289256,324289,361324,400361,441400,484441,

%U 529484,576529,625576,676625,729676,784729,841784,900841,961900,1024961,10891024,11561089,12251156,12961225,13691296

%N (n+1)^2 concatenated with n^2.

%H Vincenzo Librandi, <a href="/A246972/b246972.txt">Table of n, a(n) for n = 0..1000</a>

%t Table[FromDigits[Join[Flatten[IntegerDigits[{(n + 1)^2, n^2}]]]], {n, 0, 50}] (* _Vincenzo Librandi_, Sep 13 2014 *)

%t FromDigits/@(Join[IntegerDigits[#[[2]]],IntegerDigits[#[[1]]]]&/@ Partition[ Range[0,40]^2,2,1]) (* _Harvey P. Dale_, Apr 16 2015 *)

%o (MAGMA) [10] cat [Seqint(Intseq(n^2) cat Intseq(n^2+2*n+1)): n in [1..50]]; // _Vincenzo Librandi_, Sep 13 2014

%o (Python)

%o def A246972(n):

%o ....return int(str((n+1)**2)+str(n**2)) # _Chai Wah Wu_, Sep 13 2014

%Y Cf. A246973, A235497. For primes, see A104301.

%K nonn,base

%O 0,1

%A _N. J. A. Sloane_, Sep 13 2014

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 July 19 03:54 EDT 2019. Contains 325144 sequences. (Running on oeis4.)