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!)
A246448 Numbers n such that a square will never end in the digits of n. 2

%I #5 Sep 03 2014 23:47:29

%S 2,3,7,8,10,11,12,13,14,15,17,18,19,20,22,23,26,27,28,30,31,32,33,34,

%T 35,37,38,39,40,42,43,45,46,47,48,50,51,52,53,54,55,57,58,59,60,62,63,

%U 65,66,67,68,70,71,72,73,74,75,77,78,79,80,82,83,85,86,87,88,90,91,92,93,94,95

%N Numbers n such that a square will never end in the digits of n.

%C Complement of A238712.

%e No square will ever end in a 2, thus 2 is a member of this sequence.

%o (PARI)

%o b(n)=v=[];for(k=10^(n-1),10^n,v=concat(v,k^2%10^n));v=vecsort(v,,8);v

%o for(n=1,500,d=digits(n);if(!vecsearch(b(#d),n),print1(n,", ")))

%Y Cf. A238712.

%K nonn,base

%O 1,1

%A _Derek Orr_, Aug 26 2014

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 May 3 09:32 EDT 2024. Contains 372207 sequences. (Running on oeis4.)