login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A340470 Two adjacent integers sum up to a term of A036301. 2
0, 112, 9, 103, 18, 94, 27, 85, 36, 76, 45, 67, 54, 58, 63, 49, 72, 40, 81, 31, 90, 22, 99, 13, 108, 4, 117, 17, 95, 26, 86, 35, 77, 44, 68, 53, 59, 62, 50, 71, 41, 80, 32, 89, 23, 98, 14, 107, 5, 116, 198, 138, 73, 39, 82, 30, 91, 21, 100, 12, 109, 3, 118, 16, 96, 25 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
This is the lexicographically earliest sequence of distinct nonnegative terms with this property.
LINKS
EXAMPLE
a(1) + a(2) = 0 + 112 = 112 (a term of A036301);
a(2) + a(3) = 112 + 9 = 121 (a term of A036301);
a(3) + a(4) = 9 + 103 = 112;
a(4) + a(5) = 103 + 18 = 121; etc.
PROG
(Magma) f:=func<n|&+[(-1)^c*c:c in Intseq(n)] eq 0>; a:=[0]; for n in [2..80] do k:=1; while k in a or not f(k+a[n-1]) do k:=k+1; end while; Append(~a, k); end for; a; // Marius A. Burtea, Jan 12 2021
CROSSREFS
Cf. A036301 (even digits sum = odd digits sum).
Sequence in context: A292155 A341011 A103849 * A010032 A190026 A129947
KEYWORD
base,nonn
AUTHOR
Eric Angelini and Carole Dubois, Jan 08 2021
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 30 12:41 EDT 2024. Contains 372134 sequences. (Running on oeis4.)