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!)
A283560 Concatenation of the first n nonsquares (A000037). 2
2, 23, 235, 2356, 23567, 235678, 23567810, 2356781011, 235678101112, 23567810111213, 2356781011121314, 235678101112131415, 23567810111213141517, 2356781011121314151718, 235678101112131415171819, 23567810111213141517181920 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
There are 5 primes in the first 6100 terms of this sequence, see A283561.
LINKS
Eric Weisstein's World of Mathematics, Consecutive Number Sequences
MAPLE
A[1]:= 2:
x:= 2:
for n from 2 to 20 do
if issqr(x+1) then x:= x+2 else x:= x+1 fi;
A[n]:= A[n-1]*10^(1+ilog10(x))+x;
od:
seq(A[n], n=1..20); # Robert Israel, Mar 13 2017
MATHEMATICA
cns[n_]:=FromDigits[Flatten[IntegerDigits[Table[k+Floor[1/2+Sqrt[k]], {k, 1, n}]]]]
PROG
(PARI) a(n)=my(s=""); for(k=1, n, s=Str(s, (sqrtint(4*k)+1)\2 + k)); eval(s) \\ Charles R Greathouse IV, Mar 10 2017
CROSSREFS
Sequence in context: A112782 A093672 A262571 * A159902 A301339 A294268
KEYWORD
base,nonn
AUTHOR
XU Pingya, Mar 10 2017
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 August 20 03:42 EDT 2024. Contains 375310 sequences. (Running on oeis4.)