The short version: when using \foreach \x in [remember=\x as \lastx], iterating in {1,...,3} works, but iterating in {1,2,3} doesn't.
I have read the manual paragraph on /pgf/foreach/remember but don't see anything indicating why this should be the case.
This is particularly troubling when iterating over multiple numeric variables, where x0/y0,...,xn/yn doesn't seem to work anyway. Of course, it's also a problem when your list just doesn't follow an arithmetic sequence.
MWE:
\documentclass{standalone} % same outcome with article
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw (0, 0) node[above] {
\foreach \x [
remember=\x as \lastx (initially 0)
] in {1,2,3}
{\x, \lastx;\quad}
};
\draw (0, -1) node[above] {
\foreach \x [
remember=\x as \lastx (initially 0)
] in {1,...,3}
{\x, \lastx;\quad}
};
\draw (0, -2) node[above] {
\foreach \x / \y [
remember=\x as \lastx (initially 0),
remember=\y as \lasty (initially 0),
] in {1/11,2/22,3/13}
{$(\x,\y), (\lastx,\lasty)$;\quad}
};
\end{tikzpicture}
\end{document}
I'd be inclined to deem this a bug if it weren't such a prevalent use case…

1,0; 2,1; 3,2;for the first node and(1,11),(0,0); (2,22),(1,11); (3,13),(2,22);for the last. – Guho Oct 28 '15 at 17:02pgf/TikZ do you have, your example works fine here with v3.0.1a. – Torbjørn T. Oct 28 '15 at 17:03pgf 2008/01/05 v2.10 (rcs-revision 1.12), which seems quite old, but I'm using TeX Live 2013, which isn't that old. Is there an easy way to update without confusingapt? – wchargin Oct 28 '15 at 20:28tlmgr. More info on updating/installing packages can be found in How do I install an individual package on a Linux system? – Torbjørn T. Oct 28 '15 at 21:29