OFFSET
1,1
COMMENTS
Leading zeros for the hours are ignored, so entries of this sequence may have 5 or 6 digits. Sequence has 606 entries. Greatest leap occurs between the successive terms a(576) = 155551 and a(577) = 200002; that is, between 15h55m51s and 20h00m02s.
See A222620 for a version of this sequence using hours 0-23 instead of 1-24.
LINKS
Nathaniel Johnston, Table of n, a(n) for n = 1..606 (full sequence)
EXAMPLE
40704 actually stands for 4:07:04, i.e., 4h07m04s. Similarly, 123321 stands for 12:33:21, i.e., 12h33m21s.
MAPLE
for h from 1 to 24 do for m from 0 to 59 do for s from 0 to 59 do t:=10000*h+100*m+s: d:=convert(t, base, 10): n:=nops(d): if(d[1]=d[n] and d[2]=d[n-1] and d[3]=d[n-2])then printf("%d, ", t): fi: od: od: od: # Nathaniel Johnston, May 17 2011
MATHEMATICA
Select[Table[FromDigits@ Flatten@ Map[PadLeft[IntegerDigits@ #, 2] &, IntegerDigits[n, 60]], {n, 3600, 86400}], PalindromeQ] (* Michael De Vlieger, Aug 15 2017 *)
CROSSREFS
KEYWORD
fini,full,base,nonn
AUTHOR
Lekraj Beedassy, May 06 2003
EXTENSIONS
Edited by Nathaniel Johnston, May 17 2011
STATUS
approved