Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%I #24 Aug 23 2017 03:16:52
%S 16,25,36,49,64,81,164,364,649,816,1649,3649,8164,81649
%N Numbers with two or more digits such that every two consecutive digits are a square.
%C The largest number in this sequence (81649) is the only prime in the sequence.
%e 164 is in this sequence because 16 and 64 are both squares.
%o (PARI) is(n)=if(n<16, return(0)); while(n>9, if(!issquare(n%100), return(0)); n\=10); 1 \\ _Charles R Greathouse IV_, Aug 23 2017
%K base,fini,full,nonn,easy
%O 1,1
%A _Bobby Jacobs_, Aug 22 2017