Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A110921
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A110921 Numbers n with the property that if s denotes the sum of the digits of n, then s times s-reversed = n. +0
2
1, 81, 1458, 1729 (list; graph; listen)
OFFSET

1,2

REFERENCES

Tricky Number, Science Illustrated, Jan/Feb 2009, p. 80. [From Jonathan Vos Post (jvospost3(AT)gmail.com), Dec 20 2008]

LINKS

Masahiko Fujiwara, Title?.

FORMULA

k such that A007953(k)*A004086(A007953(k)) = k. [From Jonathan Vos Post (jvospost3(AT)gmail.com), Dec 20 2008]

EXAMPLE

Example: n = 1729: s = 1+7+2+9=19, 19*91=1729.

PROGRAM

#!/usr/bin/perl -w use strict; my $i; my $j; for $i ( 1e0 .. 1e6 ) { my $sum = 0; my $rev = 0; for $j ( 1 .. length ( $i ) ) { $sum += substr ( $i, $j - 1, 1 ); } $rev = reverse $sum; print "$i " if $sum * $rev == $i; }

CROSSREFS

Cf. A004086, A007953. [From Jonathan Vos Post (jvospost3(AT)gmail.com), Dec 20 2008]

Sequence in context: A016768 A059977 A116205 this_sequence A096302 A107914 A050634

Adjacent sequences: A110918 A110919 A110920 this_sequence A110922 A110923 A110924

KEYWORD

fini,full,nonn

AUTHOR

Michael Vang (michael.vang(AT)gmail.com), Sep 22 2005

EXTENSIONS

Edited by N. J. A. Sloane (njas(AT)research.att.com), Jan 15 2009, at the suggestion of Klaus Brockhaus

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 15 00:47 EST 2009. Contains 170825 sequences.


AT&T Labs Research