The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

Thanks to everyone who made a donation during our annual appeal!
To see the list of donors, or make a donation, see the OEIS Foundation home page.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A249896 a(n+1) is next smallest square not divisible by 10 beginning with a(n), initial term is 6. 4
 6, 64, 64009, 6400960036, 640096003602877347904, 640096003602877347904912233550482787380625, 6400960036028773479049122335504827873806251020537411455326101704116338781035920283225 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 LINKS PROG (PARI) a(n)=k=n; s=1; while(s<5*10^7, if(s%10, if(s^2\(10^(#Str(s^2)-#Str(k)))==k, print1(s^2, ", "); k=s^2)); s++) a(7) (Python) def f(x): ..print(x, end=', ') ..n = x ..s = 1 ..while s < 10**7: ....if s % 10: ......S = str(s**2) ......if S.startswith(str(n)): ........print(s**2, end=', ') ........n = s**2 ....s += 1 f(7) CROSSREFS Cf. A048559, A048561. Sequence in context: A258425 A249592 A087488 * A249828 A179879 A297516 Adjacent sequences:  A249893 A249894 A249895 * A249897 A249898 A249899 KEYWORD nonn,base,hard AUTHOR Derek Orr, Nov 08 2014 STATUS approved

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.

Last modified January 17 15:12 EST 2020. Contains 330958 sequences. (Running on oeis4.)