

A291334


Numbers with two or more digits such that every two consecutive digits are a square.


0



16, 25, 36, 49, 64, 81, 164, 364, 649, 816, 1649, 3649, 8164, 81649
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,1


COMMENTS

The largest number in this sequence (81649) is the only prime in the sequence.


LINKS

Table of n, a(n) for n=1..14.


EXAMPLE

164 is in this sequence because 16 and 64 are both squares.


PROG

(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


CROSSREFS

Sequence in context: A245371 A235717 A319388 * A175689 A030666 A030676
Adjacent sequences: A291331 A291332 A291333 * A291335 A291336 A291337


KEYWORD

base,fini,full,nonn,easy


AUTHOR

Bobby Jacobs, Aug 22 2017


STATUS

approved



